Logger exposes all the necessary methods to log any type of information and this is the interface used by the logging consumers including plugins.
Signature:
export interface Logger
Method | Description |
---|---|
debug(message, meta) | |
error(errorOrMessage, meta) | |
fatal(errorOrMessage, meta) | |
info(message, meta) | |
trace(message, meta) | |
warn(errorOrMessage, meta) |