Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Access to transport label within formatLog #87

Open
scmarlatt opened this issue Jun 18, 2018 · 1 comment
Open

Access to transport label within formatLog #87

scmarlatt opened this issue Jun 18, 2018 · 1 comment

Comments

@scmarlatt
Copy link

scmarlatt commented Jun 18, 2018

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
Copy link
Owner

timdp commented Jun 19, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants