sentry_debug_images/lib.rs
1//! The Sentry Debug Images integration.
2//!
3//! The [`DebugImagesIntegration`] adds metadata about the loaded shared
4//! libraries to Sentry [`Event`]s.
5//!
6//! # Configuration
7//!
8//! The integration by default attaches this information to all [`Event`]s, but
9//! a custom filter can be defined as well.
10//!
11//! ```rust
12//! use sentry_core::Level;
13//! let integration = sentry_debug_images::DebugImagesIntegration::new()
14//! .filter(|event| event.level >= Level::Warning);
15//! ```
16//!
17//! [`Event`]: sentry_core::protocol::Event
18
19#![doc(html_favicon_url = "https://sentry-brand.storage.googleapis.com/favicon.ico")]
20#![doc(html_logo_url = "https://sentry-brand.storage.googleapis.com/sentry-glyph-black.png")]
21#![warn(missing_docs)]
22#![deny(unsafe_code)]
23
24mod images;
25mod integration;
26
27pub use images::debug_images;
28pub use integration::DebugImagesIntegration;