2.1.1 • Published 6 years ago

@gasbuddy/configured-winston v2.1.1

Weekly downloads
12
License
MIT
Repository
github
Last release
6 years ago

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
  }
2.1.1

6 years ago

2.1.0

6 years ago

2.0.0

6 years ago

1.7.0

7 years ago

1.6.0

7 years ago

1.5.0

7 years ago

1.4.3

7 years ago

1.4.1

7 years ago

1.4.0

7 years ago

1.3.0

7 years ago

1.0.2

7 years ago

1.0.0

7 years ago