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

When fields are added to the encoder, an extra space gets added to the output of EncodeEntry #5

Open
sykesm opened this issue Dec 12, 2018 · 0 comments

Comments

@sykesm
Copy link

sykesm commented Dec 12, 2018

When a minimal zapcore.EncoderConfig is used to create a logfmt encoder and a field is added to the encoder, an extra space is added to the beginning of the formatted message.

This was discovered while trying to delegate field formatting to the logfmt encoder from within another custom encoder.

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

1 participant