问题描述
我正在尝试使用Winston作为日志记录工具。
问题是,当我使用Chrome DevTools调试我的Chrome应用程序时,我正在记录的内容logger.debug('log this')
不会在Chrome中显示(尽管确实会在我的终端中显示)
这是我的Winston装置:
export const logger = winston.createLogger({
transports: [
new winston.transports.Console({
level: "debug",handleExceptions: true,json: false,}),],exitOnError: false,// do not exit on handled exceptions
});
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)