safeapp-logger 0.2.1

SafeApp logging service
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
`SERVICE_NAME` and `LOGGER_URL` envs must be provided to use this.

Payload:
```rust
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>,
}
```