开发者

Node.js: Redirect .profiler() and .logging() output

开发者 https://www.devze.com 2023-03-29 00:58 出处:网络
IS there a way I 开发者_Python百科can get the output of the .profiler() and .logging()? Right now, it is printing in the console, I\'d like to get that on file.

IS there a way I 开发者_Python百科can get the output of the .profiler() and .logging()? Right now, it is printing in the console, I'd like to get that on file.

Thanks


Look at the winston logging module for logging to files.

0

精彩评论

暂无评论...
验证码 换一张
取 消