winston-amon

0.0.2 • Public • Published

h1. winston-amon

An Amon transport for winston.

h2. Installation

h3. 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.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.2
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.2
    2
  • 0.0.1
    1
  • 0.0.0
    1

Package Sidebar

Install

npm i winston-amon

Weekly Downloads

4

Version

0.0.2

License

none

Last publish

Collaborators

  • zoramite