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

Can console encoder allow using space instead of tab as seperator? #825

Closed
susanhuhu opened this issue Apr 30, 2020 · 1 comment
Closed

Comments

@susanhuhu
Copy link

Currently among fields, console encoder adds tab and this is hard coded. This makes log format urgly in OMS. Can we allow changing this? Actually it'll be really helpful if zap logger can add support for LogFormatter that allows customize the whole log message, instead of only allowing customizing each field.

@prashantv
Copy link
Collaborator

This isn't possible today, but there is another similar feature request, see #814 and the pending change #697.

I think having a fully customizable encoder is a good idea, but zap makes it easy to implement this outside of zap, so we're not planning to add something like that directly in zap.

Closing as duplicate of #814.

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

No branches or pull requests

2 participants