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

Publish custom columns #63

Open
HaimBendanan opened this issue May 8, 2020 · 1 comment
Open

Publish custom columns #63

HaimBendanan opened this issue May 8, 2020 · 1 comment

Comments

@HaimBendanan
Copy link

@HaimBendanan HaimBendanan commented May 8, 2020

Hey,

I must be missing something. I am trying to upload logs with additional columns, but can't find a way to do it. Could you share an example of how to achieve that?

@alestrunda
Copy link

@alestrunda alestrunda commented Jul 4, 2020

Hello, from the readme: winston.log('info', "Hello World from Node.js!");. But the second argument could be an object, so you can do something like winston.log('info', { col: "data", col2: "data" });.

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

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.