Skip to main content

StreamTransportOptions

Hierarchy

Index

Properties

optionaleol

eol?: string

End of line character to append to a message. Defaults to os.EOL.

optionalformat

format?: Formatter

Function to format a log item into a message string. Default is transport dependent.

levels

levels: LogLevel[]

List of log levels to only write messages for.

stream

stream: Writable

The stream to pipe messages to.