Optional
options: FileTransportOptions<Level, Label>Readonly
closedReadonly
erroredReadonly
readableReadonly
readableReadonly
readableReadonly
writableReadonly
writableReadonly
writableReadonly
writableReadonly
writableReadonly
writableReadonly
writableStatic
TypeGets if Transport outputs JSON string.
Gets the label for the Transport.
Get the Transport's level.
Gets if Transport is muted.
Optional
_writevEvent emitter The defined events on documents including:
Rest
...args: any[]Destroys and emits close for the stream.
Optional
err: Erroran error on destroy.
Optional
cb: ErrorCallbackoptional callback.
Rest
...args: any[]Ends the stream, outputs if needed then calls destroy.
Optional
cb: NodeCallbackoptional callback.
Ends the stream, outputs if needed then calls destroy.
optional chunk to output on end.
Optional
cb: NodeCallbackoptional callback.
Ends the stream, outputs if needed then calls destroy.
optional chunk to output on end.
optional encoding.
Optional
cb: NodeCallbackoptional callback.
Optional
options: SignalOptionOptional
options: ArrayOptionsMutes the Transport.
Callback handler on new file created.
the new filename that was created.
Rest
...args: any[]Rest
...args: any[]Rest
...args: any[]Rest
...args: any[]Rest
...args: any[]Callback handler on file rotated.
the previous file path.
the new or current file path.
Sets the Logger's log level.
the level to set the Logger to.
the parent Logger containing log levels.
Unmutes the Transport.
Writes to stream.
the chunk to be written.
the encoding to be used.
optional callback.
Writes to stream.
the chunk to be written.
Optional
cb: ErrorCallbackoptional callback.
Static
from
Gets Transport's Filters.