nextrans-logger
TypeScript icon, indicating that this package has built-in type declarations

0.2.5 • Public • Published

Nextrans Logging

How to use

import Logging from 'nextrans-logger';

const logging = new Logging({
  env: 'PRODUCTION',
  enable: true,
  slackWebhook: 'https://hooks.slack.com/services/xxx/xxx/xxx',
  cloudwatchOption: {
    group: 'main-service',
    stream: 'production',
    region: 'ap-souteast-1',
    credential: {
      accessKey: 'xxxxx',
      secretKey: 'xxxxx'
    }
  }
});

export default logging.log();

Readme

Keywords

none

Package Sidebar

Install

npm i nextrans-logger

Weekly Downloads

16

Version

0.2.5

License

ISC

Unpacked Size

18.4 kB

Total Files

7

Last publish

Collaborators

  • tri.nexpay