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

use info[Symbol(message)] instead of info.message #28

Open
vladimir-krasulya2 opened this issue Mar 12, 2021 · 1 comment
Open

use info[Symbol(message)] instead of info.message #28

vladimir-krasulya2 opened this issue Mar 12, 2021 · 1 comment

Comments

@vladimir-krasulya2
Copy link

Why this transport is using info.message ?
for example in default console transport https://github.com/winstonjs/winston/blob/master/lib/winston/transports/console.js#L54

@braxtonj
Copy link

Hey @vladimir-krasulya2! info[MESSAGE] (as seen in winstonjs) uses the MESSAGE primitive from triple-beam (basically a wrapper for "message") while we kept it simple and just use info.message

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