简体   繁体   English

bunyan和winston的利弊是什么?

[英]what are the pros and cons of bunyan and winston?

I am new to Nodejs .Confused in opting between bunyan and winston ! 我是Nodejs的新手。在Bunyan和winston之间选择了融合! would anyone please make me clear on the pros and cons of those two modules . 有谁请让我清楚这两个模块的利弊。

Checks this links, You will get some clear idea 检查这个链接,你会得到一些明确的想法

https://strongloop.com/strongblog/compare-node-js-logging-winston-bunyan/ https://npmcompare.com/compare/bunyan,winston https://strongloop.com/strongblog/compare-node-js-logging-winston-bunyan/ https://npmcompare.com/compare/bunyan,winston

Pros of Bunyan 班扬的优点

  • Bunyan has a concept of a child logger to specialize a logger for a sub-component of application Bunyan有一个子记录器的概念,专门为记录器提供应用程序的子组件

  • JSON based log 基于JSON的日志

Mostly I prefer winston over Bunyan. 我更喜欢温斯顿而不是班扬。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 使用像Jade这样的模板引擎有什么优缺点? - What are the pros and cons of using a template engine like Jade? "有没有办法像我们在 bunyan CLI 中显示的那样显示 winston 日志文件?" - Is there a way to show winston log files like we show it in bunyan CLI? EMFILE:打开的文件太多,打开 BUNYAN 或 WINSTON - EMFILE: too many open files, open BUNYAN or WINSTON 使用angular库与直接从package.json中的git引用它的优缺点是什么 - What are pros and cons of using angular library vs directly referring it from git in package.json 要上传文件,在 post body 与 multipart/form-data 中发送 base64 的优缺点是什么 - To upload a file what are the pros and cons of sending base64 in post body vs multipart/form-data node.js中fs.createReadStream与fs.readFile的优缺点是什么? - What are the pros and cons of fs.createReadStream vs fs.readFile in node.js? 使用从 express 转换的 lambda 与使用原始 lambda 的优缺点是什么 - what are the pros and cons of using a lambda converted from express vs using a raw lambda 在服务器和数据库中使用JSON(优点/缺点) - Using JSON in server vs Database (Pros/Cons) Proxyquire,rewire,SandboxedModule和Sinon:利弊 - Proxyquire, rewire, SandboxedModule, and Sinon: pros & cons 使用bodyparser nodejs文件上传的优缺点 - pros and cons of using bodyparser nodejs file uploads
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM