LoggerConsole type alias
Type of the console objects accepted by the logger.
Signature
export type LoggerConsole = Pick<Console, 'log' | 'error'>;
Remarks
The logger uses only the log() function, for the standard output, and the error() function, for the standard error, so any object that has them can be used, not only a Node.js Console: a mock console, a custom object, or a minimal { log, error } object.
The functions are called as methods of the object, so they may use this.
Generated via tsdoc2docusaurus 1.3.2 by API Extractor/Documenter 7.60.1.