How to check when log.error() is called
3s-ThangLD opened this issue · 2 comments
3s-ThangLD commented
megahertz commented
Under the hood, it calls the console transport directly. The only way to handle such a case outside is to overwrite log.transports.console.writeFn function.
Deleted user commented
Under the hood, it calls the console transport directly. The only way to handle such a case outside is to overwrite log.transports.console.writeFn function.
It is useful for me. Thank you for your reply!