2 unstable releases

Uses new Rust 2024

0.2.1 Apr 29, 2025
0.1.0 Apr 28, 2025

#18 in #service-name

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

~1.7–5.5MB
~98K SLoC