0.0.2 • Published 12 years ago

winston-amon v0.0.2

Weekly downloads
17
License
-
Repository
github
Last release
12 years ago

An Amon transport for winston.

Installation

Installing winston-amon

  $ sudo npm install winston-amon

Usage

  var winston = require('winston');
  
  //
  // Requiring `winston-amon` will expose 
  // `winston.transports.Amon`
  //
  require('winston-amon').Amon;
  
  winston.add(winston.transports.Amon, options);

The Amon transport takes the following options:

  • level: Level of messages that this transport should log.
  • silent: Boolean flag indicating whether to suppress output.
  • host: The host running Amon, defaults to 127.0.0.1.
  • port: The port on the host that Amon is running on, defaults to Amon's default port.
0.0.2

12 years ago

0.0.1

12 years ago

0.0.0

12 years ago