1.1.8 • Published 4 years ago

cliengo-winston v1.1.8

Weekly downloads
9
License
ISC
Repository
github
Last release
4 years ago

A custom Winston configuration with path label, falsy returns and NewRelic transport.

Installation

Tested on node-14.x, requires npm.

  $ npm i cliengo-winston --save

Usage

const logger = require('cliengo-winston')(module)

logger.error('It does not work', err)
logger.info(`Connected to DB + ${db.url}`)

Options

  • MODULE_LOGGING_FOCUS: If process.env.MODULE_LOGGING_FOCUS is set, winston will only log from the specified module
  • LOGGING_LEVEL: process.env.LOGGING_LEVEL can be used to set the maximun logging level without having to deploy.
1.1.8

4 years ago

1.1.7

4 years ago

1.1.6

4 years ago

1.1.5

4 years ago

1.1.4

4 years ago

1.1.3

4 years ago

1.1.2

4 years ago

1.1.1

4 years ago

1.0.13

4 years ago

1.0.12

4 years ago

1.0.11

4 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.10

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3-np

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago