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

Allow VolantMQ to operate with Zap v1.16 #181

Merged
merged 1 commit into from
Sep 28, 2021

Conversation

argylelabcoat
Copy link
Contributor

I was using VolantMQ in a project where I have vendored dependencies and as a result, my Zap 1.16.0 overrode the VolantMQ Zap of 1.12

This causes an error to be thrown when creating the logger:

 	log, err := logCfg.Build()

Due to the null TimeEncoder.

Since the intent seemed to be to have no time prefix on the logs, I made a change to allow for that while giving it a non-nil pointer.

@troian troian merged commit a2de8e2 into VolantMQ:master Sep 28, 2021
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.

2 participants