Optional
autoWhether to close the stream when transport is closed.
Optional
enabledWhether this transport is currently active. Allows runtime enabling/disabling of transports.
Optional
encodingStream encoding.
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
maxMaximum internal queue size before dropping/handling backpressure. Defaults to 1000 if not provided.
Optional
nameUnique name identifier for this transport instance. Used for managing multiple transports.
Optional
silentWhether to handle errors silently or propagate them.
Target writable stream.
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.
Stream transport options for Node.js streams.