@escale/escaleos-logs

1.4.0 • Public • Published

escaleos-logs

Send logs to Datadog

Usage

const escaleosLogs = require('@escale/escaleos-logs')

const log = new escaleosLogs(process.env.ENV)

log.setService(SERVICE)
log.setFunction(FUNCTION_NAME)

log.info('Informations', 'ACTION')
log.debug('Debug', 'ACTION')
log.war('Warnings')
log.error('Errors')

Readme

Keywords

none

Package Sidebar

Install

npm i @escale/escaleos-logs

Weekly Downloads

1

Version

1.4.0

License

MIT

Unpacked Size

2.69 kB

Total Files

3

Last publish

Collaborators

  • jvsa7
  • escaletech
  • lcfumes
  • oandrelopes