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')