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();
nextrans-log
0.1.16 • Public • PublishedReadme
Keywords
nonePackage Sidebar
Install
npm i nextrans-log
Repository
Weekly Downloads
0
Version
0.1.16
License
ISC
Unpacked Size
10.7 kB
Total Files
6