Class: ConsoleTransport
A log transport that outputs log entries to the console.
Extends
Constructors
Constructor
new ConsoleTransport(
config):ConsoleTransport
The configuration options for the log transport.
Parameters
config
Returns
ConsoleTransport
Inherited from
Properties
config
protectedreadonlyconfig:LogTransportOptions
Inherited from
Methods
write()
write(
entry):Promise<void>
Writes a log entry using the configured formatter and minimum level.
Parameters
entry
Returns
Promise<void>