timdp / winston-aws-cloudwatch

A Winston transport for Amazon CloudWatch.
MIT License
47 stars 13 forks source link

Add support for Winston 3.0 #88

Closed bra1n closed 6 years ago

bra1n commented 6 years ago

It seems like this module is not fully compatible with Winston 3.0 yet, whenever I use winston.add(new CloudWatchTransport(config)); I get the following log message:

undefined is a legacy winston transport. Consider upgrading: 
- Upgrade docs: https://github.com/winstonjs/winston/blob/master/UPGRADE-3.0.md

Would be great if Winston 3.0 could be fully supported, too.

timdp commented 6 years ago

Agreed. This is actually a duplicate of #80. The winston3 branch should actually work already, but it's unfinished.