1.1.0 • Published 3 years ago

@unicity/cloudwatch-logger v1.1.0

Weekly downloads
180
License
UNLICENSED
Repository
-
Last release
3 years ago

Unicity-Cloudwatch-Logger

About

const Logger = require('@unicity/cloudwatch-logger');

const env    = 'qa';
const logger = new Logger({
	service                   : 'events', // this is optional and adds a key saying service in each message.
	groupName                 : `hydra${env}.unicity.net/v5a`,
	streamName                : 'test',
	region                    : 'us-east-1',
	handleUnhandledExceptions : true,
	logLocallyOnly            : true // true will make this not actually log to AWS and only log locally
});

logger.info('hello world', event);
1.1.0

3 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

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