Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vleue/vleue_sentry
https://github.com/vleue/vleue_sentry
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/vleue/vleue_sentry
- Owner: vleue
- Created: 2024-04-26T00:16:55.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-07-08T19:28:45.000Z (6 months ago)
- Last Synced: 2024-07-09T00:25:28.791Z (6 months ago)
- Language: Rust
- Size: 13.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Vleue Sentry Reporter
![MIT/Apache 2.0](https://img.shields.io/badge/license-MIT%2FApache-blue.svg)
[![Doc](https://docs.rs/vleue_sentry/badge.svg)](https://docs.rs/vleue_sentry)
[![Crate](https://img.shields.io/crates/v/vleue_sentry.svg)](https://crates.io/crates/vleue_sentry)
[![Bevy Tracking](https://img.shields.io/badge/Bevy%20tracking-main-lightblue)](https://github.com/bevyengine/bevy/blob/main/docs/plugins_guidelines.md#main-branch-tracking)
[![CI](https://github.com/vleue/vleue_sentry/actions/workflows/ci.yml/badge.svg)](https://github.com/vleue/vleue_sentry/actions/workflows/ci.yml)Error reporting for Bevy using [Sentry](https://sentry.io).
## Usage
Set the login subscriber:
```rust
use bevy::{prelude::*, log::LogPlugin};use vleue_sentry::sentry_panic_reporter;
fn main() {
App::new()
.add_plugins(DefaultPlugins.set(LogPlugin {
custom_layer: sentry_panic_reporter,
..default()
}));
}
```