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

Enable the user to specify a callable as a global log property #29

Merged
merged 6 commits into from
Sep 13, 2020

Conversation

piotrmaslanka
Copy link
Collaborator

@piotrmaslanka piotrmaslanka commented Sep 12, 2020

If a callable is given, it will be evaluated at _log time. This way you can for example add current trace IDs (if you're using tracing).
If the callable returns None, it won't be included at that time.

@tintoy
Copy link
Owner

tintoy commented Sep 12, 2020

Thanks for contributing- this looks great! 🙂

I’ll get it merged sometime this morning.

@tintoy tintoy merged commit ff48d91 into tintoy:master Sep 13, 2020
@tintoy
Copy link
Owner

tintoy commented Sep 13, 2020

Thanks again 🙂

@tintoy
Copy link
Owner

tintoy commented Sep 13, 2020

Published v0.3.18.

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