Logs debug message.
Calling this method is the same as calling log(ZLogMessage.Debug, ...args).
Rest
...args: unknown[]Log message arguments.
Logs error.
Calling this method is the same as calling log(ZLogMessage.Error, ...args).
Rest
...args: unknown[]Log message arguments.
Logs fatal error.
Calling this method is the same as calling log(ZLogMessage.Fatal, ...args).
Rest
...args: unknown[]Log message arguments.
Logs informational message.
Calling this method is the same as calling log(ZLogMessage.Info, ...args).
Rest
...args: unknown[]Log message arguments.
Logs a message with specified log level.
Builds a log message and records it.
The log level of the message.
Rest
...args: unknown[]Log message arguments.
Records a log message.
The actual logging of the message can be asynchronous.
A message to record.
Logs trace message.
Calling this method is the same as calling log(ZLogMessage.Trace, ...args).
Rest
...args: unknown[]Log message arguments.
Logs warning.
Calling this method is the same as calling log(ZLogMessage.Warning, ...args).
Rest
...args: unknown[]Log message arguments.
Awaits for the recorded message(s) to be either logged or discarded.
Optional
which: "all" | "last"Which message to wait for. Either "all"
to wait for all messages or "last"
to wait for the last
message only. The default is "last"
A promise resolved to true
if the last recorded message is logged, or to false
if it is discarded.
Generated using TypeDoc
Message logger interface.
Extends log recorder with convenient logging methods.
Supposed to be constructed by logZ or logZBy function.