1.0.3 • Published 9 years ago

bunyan_cloudwatch v1.0.3

Weekly downloads
3
License
MIT
Repository
github
Last release
9 years ago

Write bunyan logs to AWS CloudWatch.

##Usage

var log = require('bunyan_cloudwatch');

log.settings({
    accessKeyId: '',
    secretAccessKey: '',
    region: ''
});

var test1 = log.create("test1");
test1.trace("trace");
test1.debug("debug");
test1.info("info");
test1.warn("warn");
test1.error("error");
test1.fatal("fatal");

##API

###settings(opts) With opts of:

  • accessKeyId (required)
  • secretAccessKey (required)
  • region (required): the AWS region e.g. us-west-1

###create(logGroup)

  • logGroup (required)

On write of the first log, the module creates the logGroup and logStream if necessary.

##Contributors This project was created by Felix Weizman (@felixW).

1.0.3

9 years ago

1.0.2

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago