Optional
compressCompress batches before sending (gzip).
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
immediateWhether to send logs immediately without batching. Overrides other batch settings when true.
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 size in bytes before sending a batch.
Optional
maxMaximum number of logs to batch before sending.
Optional
maxMaximum time to wait before sending a batch (milliseconds).
Optional
maxMaximum queue size.
Optional
maxMaximum retry attempts for failed batches.
Optional
nameUnique name identifier for this transport instance. Used for managing multiple transports.
Optional
retryInitial retry delay in milliseconds.
Optional
retryWhether to retry on failure.
Optional
silentWhether to handle errors silently or propagate them.
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.
Combined options for batching transports.