1.1.8 • Published 5 years ago

cliengo-winston v1.1.8

Weekly downloads
9
License
ISC
Repository
github
Last release
5 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

5 years ago

1.1.7

5 years ago

1.1.6

5 years ago

1.1.5

5 years ago

1.1.4

5 years ago

1.1.3

5 years ago

1.1.2

5 years ago

1.1.1

5 years ago

1.0.13

5 years ago

1.0.12

5 years ago

1.0.11

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.10

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3-np

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago