rollbar-rs
rollbar-rs copied to clipboard
Allow sending arbitrary custom metadata #6
You can add custom metadata to your reports by passing a Json object to the new method with_metadata
.
An improvement could consist in replacing the usage of the json!
macro with tuples as we are actually working with Value::Object(Map<String, Value>)
, but as it is this PR should be enough to satisfy #6.