bunyan-duckling 1.0.0

Maps the major Bunyan logging methods to console.log/error

Homepage: http://github.com/bloglovin/node-bunyan-duckling

Platform: npm

Language: JavaScript

License: MIT

Repository: https://github.com/bloglovin/node-bunyan-duckling

View on registry: https://www.npmjs.com/package/bunyan-duckling/

Install: npm install bunyan-duckling


Bunyan Duckling

Maps the major Bunyan logging methods to console.log()/.error(). Useful for modules that want to be compatible with, but not require, Bunyan logging.

Installation

npm install bunyan-duckling --save

Usage

Simple:

var logger = require('bunyan-duckling');
logger.error('Warning'); // Uses console.error()
logger.info('Informational'); // Uses console.log()

Supported methods

Has support for all seven Bunyan log levels.

  • .fatal() – maps to console.error()
  • .error() – maps to console.error()
  • .warn() – maps to console.log()
  • .info() – maps to console.log()
  • .debug() – maps to console.log()
  • .trace() – maps to console.log()
веселые картинки развлекательные гифки интресные факты смешные видео смешные истории из соцсетей

GitHub Repository

bloglovin/node-bunyan-duckling bloglovin/node-bunyan-duckling

Maps the major Bunyan logging methods to console.log/error

Language: JavaScript

Created: April 01, 2015 12:38

Last updated: April 01, 2015 12:50

Last pushed: April 01, 2015 12:39

Size: 0 Bytes

Stars: 0

Forks: 0

Watchers: 15

Open issues: 0

Top Contributors

Pelle Wessman

Releases

  • 1.0.0 - April 01, 2015 12:39

Related Projects

bunyan-mongo 0.1.0
Stream log from bunyan to MongoDB capped collection.
npm - CoffeeScript - MIT - Published 2 months ago - 1 stars
bunyan-raven 0.2.2
A bunyan-compatible stream interface that sends error logs to raven-node.
npm - JavaScript - BSD-2-Clause - Updated 6 months ago - 1 stars
bunyan-rollbar 0.1.0
A Bunyan stream plugin to send error logs to Rollbar
npm - JavaScript - MIT - Published 5 months ago - 1 stars
commonlog-bunyan 0.4.1
Naive common log for bunyan
npm - JavaScript - MIT - Updated about 2 months ago
organic-bunyan-output 0.0.4
Organelle which captures chemicals and transforms them to bunyan method calls
npm - JavaScript - MIT - Updated 6 months ago
веселые картинки развлекательные гифки интресные факты смешные видео смешные истории из соцсетей