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

Ensure logger reports the correct file and line number of caller #116

Merged
merged 1 commit into from
Apr 29, 2022

Conversation

ermyas
Copy link
Contributor

@ermyas ermyas commented Apr 29, 2022

Currently, we use a wrapper around zerolog in order to have a more convenient logging API to use. This, however, results in the wrapper's file and line numbers being reported in logs instead of the caller's. This PR addresses this issue.

@ermyas ermyas requested a review from drinkcoffee April 29, 2022 04:48
@drinkcoffee drinkcoffee merged commit ceb5a77 into main Apr 29, 2022
@drinkcoffee drinkcoffee deleted the fix/logging branch April 29, 2022 06:54
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