timdp / winston-aws-cloudwatch

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

Access to transport label within formatLog #87

Open scmarlatt opened 6 years ago

scmarlatt commented 6 years ago

It seems that the default console transport for winston is outputting the transport label, but I don't see this anywhere on the item argument supplied to formatLog().

Does anyone know if it is possible to also print the transport label?

timdp commented 6 years ago

The default format doesn't include the label, but you can override formatting using the formatLogItem option documented in the readme.