1.0.1 • Published 6 years ago
@clicksend/nodejs-logger v1.0.1
nodejs-logger
Logging library for ClickSend Node.js applications
A tiny wrapper around console to provide a simple way to follow our logging format with Datadog APM integration.
How to publish npm
- go to the root of the repository and run
npm login - add the user:
your-username - and the secret password:
xxxxxxxxxx - run
npm publish --access public
Usage
- javascript:
const log = require("@clicksend/nodejs-logger"); - typescript:
import { error, info, warn } from "@clicksend/nodejs-logger";