@gasbuddy/configured-winston

2.1.1 • Public • Published

configured-winston

Greenkeeper badge

wercker status Coverage Status

A wrapper which hooks winston transports up via config. The config entry should have a "transports" property which has a list of transports to configure. It is specified via an object rather than array to allow enable/disable and multi-config file overlays (features of hydration and confit) to work more cleanly across environments.

Sample Configuration

  "logger": {
    "module": "@gasbuddy/configured-winston",
    "transports": {
      "file": {
        "name": "File",
        "filename": "/var/log/foobar.error.log",
        "config": {
          "level": "error"
        }
      }
    },
    "console": false
  }

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
2.1.12latest

Version History

VersionDownloads (Last 7 Days)Published
2.1.12
2.1.00
2.0.00
1.7.00
1.6.00
1.5.00
1.4.31
1.4.11
1.4.00
1.3.00
1.0.20

Package Sidebar

Install

npm i @gasbuddy/configured-winston

Weekly Downloads

4

Version

2.1.1

License

MIT

Unpacked Size

44.4 kB

Total Files

16

Last publish

Collaborators

  • djmax
  • msimeon
  • ryan.vasselin
  • normrider2001232
  • dsigmeth
  • bkarchernpm