Skip to content

b2mdevelopment/winston-cloudwatch

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

winston-cloudwatch

Send logs to Amazon Cloudwatch using Winston.

Installing

$ npm install --save winston winston-cloudwatch

Configuring

AWS configuration works using ~/.aws/credentials as written in the Amazon guide.

I still have to check if everything works ok with ENV variables.

Usage

var winston = require('winston'),
  options = {
    logGroupName: 'your-log-group',
    logStreamName: 'your-log-stream'
  };
winston.add(require('winston-cloudwatch'), options);

winston.error('log this', { and: 'this too' });

About

Send logs to Amazon Cloudwatch using Winston.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 69.0%
  • CoffeeScript 25.5%
  • Makefile 5.5%