LoggerTransports are the functions that are used to log messages with different severity levels.
They are statically defined on the Logger class.
Update them to change the way messages are logged.
const logger = new Logger("MyLogger");logger.transports = { debug: print, info: print, warn: print, error: print }; Copy
const logger = new Logger("MyLogger");logger.transports = { debug: print, info: print, warn: print, error: print };
LoggerTransports are the functions that are used to log messages with different severity levels.
They are statically defined on the Logger class.
Update them to change the way messages are logged.
Example