2 unstable releases

Uses new Rust 2024

new 0.2.1 Apr 29, 2025
0.1.0 Apr 28, 2025

#374 in #service

46 downloads per month

Custom license

13KB
127 lines

SERVICE_NAME and LOGGER_URL envs must be provided to use this.

Payload:

struct Payload {
    service: String,
    route: String,
    severity: Severity,
    message: String,
    code: u16,
    #[serde(skip_serializing_if = "Option::is_none")]
    timestamp: Option<String>,
    #[serde(skip_serializing_if = "Option::is_none")]
    context: Option<String>,
}

Dependencies

~2–11MB
~109K SLoC