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