bunyan-sqs

0.0.3 • Public • Published

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'
      })
    }
  ]
});

/bunyan-sqs/

    Package Sidebar

    Install

    npm i bunyan-sqs

    Weekly Downloads

    0

    Version

    0.0.3

    License

    ISC

    Last publish

    Collaborators

    • capelio