2.0.5 • Published 5 years ago

lib-logger v2.0.5

Weekly downloads
331
License
MIT
Repository
github
Last release
5 years ago

Lib-logger

Enforces all your logs to be displayed as JSON following stackdriver specification so you can filter by it's values.

Usage

Install it through: npm i lib-logger

const log = require('lib-logger');

log.debug("Application started!",{httpServer:address});
log.info(`Shipment ${shipmentID} delivered!`,{shipmentID, amount, items});

Export the environment vars APP_NAME and APP_VERSION in order to see the error reporting on stackdriver.

2.0.5

5 years ago

2.0.4

5 years ago

2.0.3

5 years ago

2.0.2

5 years ago

2.0.1

5 years ago

2.0.0

5 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago

0.0.1-security

7 years ago

0.4.1

7 years ago

0.2.2

7 years ago

0.0.1

8 years ago