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

0.1.16 • Public • Published

Nextrans Logging

How to use

import Logging from 'nextrans-log';

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-log

Weekly Downloads

0

Version

0.1.16

License

ISC

Unpacked Size

10.7 kB

Total Files

6

Last publish

Collaborators

  • triproject