relay_log::sentry

Macro release_name

macro_rules! release_name {
    () => { ... };
}
Expand description

Returns the intended release for Sentry as an Option<Cow<'static, str>>.

This can be used with ClientOptions to set the release name. It uses the information supplied by cargo to calculate a release.

ยงExamples

let _sentry = sentry::init(sentry::ClientOptions {
    release: sentry::release_name!(),
    ..Default::default()
});