rustwatch 0.2.0

First-class logging and monitoring for Rust applications. Deep insights and structured logs, wherever you deploy.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use crate::Record;

/// Expose Processor trait at crate root
pub trait Processor {
    fn process(&self, record: &mut Record);

    fn severity(&self) -> usize {
        0
    }
}

// Internal modules for processor implementations
mod context;

// Re-export all processor implementations
pub use context::*;