Skip to content

Commit f077f30

Browse files
authored
Remove newrelic-winston transport entry. (#2405)
1 parent 3943c41 commit f077f30

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

docs/transports.md

-18
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ there are additional transports written by
4848
* [Logsene](#logsene-transport) (including Log-Alerts and Anomaly Detection)
4949
* [Logz.io](#logzio-transport)
5050
* [Mail](#mail-transport)
51-
* [Newrelic](#newrelic-transport) (errors only)
5251
* [Papertrail](#papertrail-transport)
5352
* [PostgresQL](#postgresql-transport)
5453
* [Pusher](#pusher-transport)
@@ -640,22 +639,6 @@ The Mail transport uses [node-mail][17] behind the scenes. Options are the foll
640639

641640
*Metadata:* Stringified as JSON in email.
642641

643-
### Newrelic Transport
644-
645-
[newrelic-winston][23] is a Newrelic transport:
646-
647-
``` js
648-
const winston = require('winston');
649-
const Newrelic = require('newrelic-winston');
650-
logger.add(new Newrelic(options));
651-
```
652-
653-
The Newrelic transport will send your errors to newrelic and accepts the follwing optins:
654-
655-
* __env__: the current evironment. Defatuls to `process.env.NODE_ENV`
656-
657-
If `env` is either 'dev' or 'test' the lib will _not_ load the included newrelic module saving devs from anoying errors ;)
658-
659642
### Papertrail Transport
660643

661644
[winston-papertrail][27] is a Papertrail transport:
@@ -986,7 +969,6 @@ That's why we say it's a logger for just about everything
986969
[20]: https://github.com/jorgebay/winston-cassandra
987970
[21]: https://github.com/jpoon/winston-azuretable
988971
[22]: https://github.com/rickcraig/winston-airbrake2
989-
[23]: https://github.com/namshi/winston-newrelic
990972
[24]: https://github.com/sematext/winston-logsene
991973
[25]: https://github.com/timdp/winston-aws-cloudwatch
992974
[26]: https://github.com/lazywithclass/winston-cloudwatch

0 commit comments

Comments
 (0)