Interface FileZLogSpec

A specification of how to log messages to file.

Hierarchy

Properties

Properties

buffer?: ZLogBuffer

A buffer of log messages to use prior to writing to the file.

The log file and directories creation is asynchronous. So, the buffer is used while the log file is not created yet. It is also used if the i/o operations are not fast enough to write everything logged.

eol?: string

The end of line symbol to separate log lines with.

Default

os.EOL - an OS-specific new line separator.

Message format or formatter to use for text message logging.

Ignored for streams in object mode.

Default

{@link @run-z/log-z!textZLogFormatter Text log format}.

Generated using TypeDoc