1.0.4 • Published 4 years ago

@beforeyoubid/console-logger-adapter v1.0.4

Weekly downloads
9
License
ISC
Repository
github
Last release
4 years ago

LogDNA Console Logger Adapter

This is a console wrapper module to wrap console.xxx() and send all logs to LogDNA

yarn add @beforeyoubid/console-logger-adapter

Activate it

We follow 12-factors and we can enable and send log to LogDNA by supplying LOGDNA_KEY as part of the environment variables.

  LOGDNA_KEY=xxxxxxyyyyyyyzzzzzzz

Please note that on your local, you can set LOGDNA_KEY= to disable sending logs to LogDNA

Add this code to the main handler file

import sendConsoleLogsToLogDNA from '@beforeyoubid/console-logger-adapter';
sendConsoleLogsToLogDNA()
1.0.2

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago