Creates a LogLevelStreamEntry stream that writes to STDOUT at or above the minimum level
LogLevelStreamEntry
level
const buildDestinationStdout = (level: LogLevel, options: Omit<StreamDestination, 'destination'> = {}): LogLevelStreamEntry => { const opts = {...prettyColorizeEnv, ...options, destination: destination({dest: 1, sync: true})} return buildDestinationStream(level, opts);} Copy
const buildDestinationStdout = (level: LogLevel, options: Omit<StreamDestination, 'destination'> = {}): LogLevelStreamEntry => { const opts = {...prettyColorizeEnv, ...options, destination: destination({dest: 1, sync: true})} return buildDestinationStream(level, opts);}
buildDestinationStream
Creates a
LogLevelStreamEntry
stream that writes to STDOUT at or above the minimumlevel
Source
See
buildDestinationStream