logger:Winston记录器与Logstash一起使用

时间:2021-05-10 08:55:24
【文件属性】:
文件名称:logger:Winston记录器与Logstash一起使用
文件大小:7KB
文件格式:ZIP
更新时间:2021-05-10 08:55:24
JavaScript Git参考 Winston记录器可与和一起使用。 用法 npm install @sinet/logger --save 例子 // Options are for winston transports, file and console var options = { 'file' : { 'filename' : 'logs/myLogFile.log' , } , 'console' : { 'level' : 'debug' } , // These are additional fields that get added to all logs 'additional' : { 'container' : 'user-service' , // The items below are defaults added by the library aut
【文件预览】:
logger-master
----circle.yml(361B)
----.eslintrc(49B)
----.gitattributes(54B)
----gulpfile.js(2KB)
----test()
--------config.js(2KB)
--------singleton.js(1KB)
--------logging.js(3KB)
----README.md(2KB)
----coding-conventions(39B)
----.jscsrc(47B)
----.editorconfig(53B)
----.gitignore(32B)
----index.js(1KB)
----.eslintignore(53B)
----package.json(1KB)

网友评论