0.0.3 • Published 10 years ago

bunyan-sqs v0.0.3

Weekly downloads
4
License
ISC
Repository
github
Last release
10 years ago

bunyan-sqs

Stream node-bunyan logs to a SQS queue

Early stage code ahead!

This is my first time digging into streams, so any tips, advice, or pull requests are greatly appreciated.

Installing

npm install bunyan-sqs

Running tests

npm test

Example

var bunyan = require('bunyan');
var bunyanSqs = require('bunyan-sqs');

var log = bunyan.createLogger({
  streams: [
    {
      stream: bunyanSqs.createStream({
        accessKeyId: 'KEY_ID',
        secretAccessKey: 'SECRET_KEY',
        region: 'AWS_REGION',
        queueName: 'NAME'
      })
    }
  ]
});
0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago