Expand description
§Diagnostics log types serde
Serializers and deserializers for types used in various places for logging.
Intended as utilities for used with serde as:
use diagnostics_log_types_serde::{optinoal_severity, Severity};
#[derive(Serialize, Deserialize)]
struct SomeType {
#[serde(default, with = "optional_severity")]
severity: Option<Severity>
}
Modules§
Enums§
- Severities a log message can have, often called the log’s “level”.