Abstract Class: LogTransport
An abstract class for defining log transport behavior.
Extended by
ConsoleTransportFileTransportHttpTransportMemoryTransportNullTransportStreamTransportWebhookTransport
Constructors
Constructor
new LogTransport(
config):LogTransport
The configuration options for the log transport.
Parameters
config
Returns
LogTransport
Properties
config
protectedreadonlyconfig:LogTransportOptions
Methods
write()
abstractwrite(entry):Promise<void>
Writes a log entry using the configured formatter and minimum level.
Parameters
entry
Returns
Promise<void>