Skip to content

Commit

Permalink
Update transports.md
Browse files Browse the repository at this point in the history
Added verbose description for winlog2
  • Loading branch information
peteward44 committed Jun 18, 2015
1 parent 077af1e commit cec892c
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions docs/transports.md
Original file line number Diff line number Diff line change
Expand Up @@ -398,6 +398,22 @@ The Airbrake transport utilises the node-airbrake module to send logs to the Air
* __appVersion__: Extra string or number sent to Airbrake. (optional, default: null)
* __consoleLogError__: Toggle the logging of errors to console when the current environment is in the developmentEnvironments array. (optional, default: false)

### Winlog2 Transport

[winston-winlog2][19] is a Windows Event log transport:

``` js
var winston = require('winston');
winston.add(require('winston-winlog2'), options);
```

The winlog2 transport uses the following options:

* __name__: Transport name
* __eventLog__: Log type (default: 'APPLICATION')
* __source__: Name of application which will appear in event log (default: 'node')


## Find more Transports

``` bash
Expand Down

0 comments on commit cec892c

Please sign in to comment.