Optional
colorizeWhether to use colors in console output.
Optional
consoleConsole method mapping for different log levels.
Optional
debugWhether to inspect objects deeply.
Optional
enabledWhether this transport is currently active. Allows runtime enabling/disabling of transports.
Optional
excludeTags that exclude logs from this transport. Logs with any of these tags are skipped.
Optional
filterCustom filter function for advanced filtering logic. Return true to process the log, false to skip.
Optional
formatOutput format for this transport.
Optional
formatterCustom formatter function. Used when format is 'custom'.
Optional
levelMinimum log level this transport will handle. Logs below this level are ignored by this transport.
Optional
levelsCustom levels this transport should handle. Allows fine-grained control over what gets logged where.
Optional
nameUnique name identifier for this transport instance. Used for managing multiple transports.
Optional
silentWhether to handle errors silently or propagate them.
Optional
stderrWhether to use stderr for error/warn levels.
Optional
tagsTags that must be present for this transport to handle a log. If specified, only logs with at least one matching tag are processed.
Optional
timeoutTimeout for transport operations in milliseconds.
Console transport specific options.