You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/transports.md
+16
Original file line number
Diff line number
Diff line change
@@ -398,6 +398,22 @@ The Airbrake transport utilises the node-airbrake module to send logs to the Air
398
398
*__appVersion__: Extra string or number sent to Airbrake. (optional, default: null)
399
399
*__consoleLogError__: Toggle the logging of errors to console when the current environment is in the developmentEnvironments array. (optional, default: false)
400
400
401
+
### Winlog2 Transport
402
+
403
+
[winston-winlog2][19] is a Windows Event log transport:
404
+
405
+
```js
406
+
var winston =require('winston');
407
+
winston.add(require('winston-winlog2'), options);
408
+
```
409
+
410
+
The winlog2 transport uses the following options:
411
+
412
+
*__name__: Transport name
413
+
*__eventLog__: Log type (default: 'APPLICATION')
414
+
*__source__: Name of application which will appear in event log (default: 'node')
0 commit comments