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

Print struct keys for struct log fields #209

Merged
merged 1 commit into from Jul 7, 2015

Conversation

pdf
Copy link
Contributor

@pdf pdf commented Jul 5, 2015

Can be useful for debugging, saves a lot of referring to source code

Can be useful for debugging, saves a lot of referring to source code
@sirupsen
Copy link
Owner

sirupsen commented Jul 6, 2015

What's the properties for strings, numbers, maps etc? Does +v only affect structs?

@pdf
Copy link
Contributor Author

pdf commented Jul 6, 2015

Yeah, maps already print keys, no change for basic types either. Godoc is here.

sirupsen added a commit that referenced this pull request Jul 7, 2015
Print struct keys for struct log fields
@sirupsen sirupsen merged commit e815b55 into sirupsen:master Jul 7, 2015
@sirupsen
Copy link
Owner

sirupsen commented Jul 7, 2015

Released in 0.8.3

@pdf pdf deleted the print_struct_keys branch July 10, 2015 22:29
devopstaku pushed a commit to devopstaku/logrus that referenced this pull request Aug 9, 2016
Print struct keys for struct log fields
@stevejarvis stevejarvis mentioned this pull request Aug 2, 2017
cgxxv pushed a commit to cgxxv/logrus that referenced this pull request Mar 25, 2022
Print struct keys for struct log fields
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

Successfully merging this pull request may close these issues.

None yet

2 participants