safeapp-logger 0.2.1

SafeApp logging service
Documentation

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>,
}