We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Log.with_context
It's pretty common when using logging contexts to do something like the following (it's even in the docs)
::Log.with_context do Log.context.set some_data: 12345 ... end
I think Log.with_context should be able to set the context for the block.
::Log.with_context(some_data: 12345) do ... end
As stated above.
Nope
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Feature Request
It's pretty common when using logging contexts to do something like the following (it's even in the docs)
I think
Log.with_context
should be able to set the context for the block.As stated above.
Nope
The text was updated successfully, but these errors were encountered: