vectordotdev / timber-elixir

🌲 Great Elixir logging made easy
https://timber.io
Other
214 stars 29 forks source link

Include plain logger metadata as contexts #349

Open valpackett opened 5 years ago

valpackett commented 5 years ago

Say we have a library that does something like Logger.metadata(job_id: job.id) in processes it starts.

Doesn't seem like there's an easy way to include that info as contexts? :(

Would be nice to have the ability to add custom add_runtime_context style hooks.