introduce log_buffer type to cleanup concurrency & correctness

also cargo fmt
This commit is contained in:
Chris Beck
2025-12-05 19:40:33 -07:00
parent a214b8e474
commit f899d391b9
5 changed files with 87 additions and 49 deletions
+5 -1
View File
@@ -164,7 +164,11 @@ pub struct JsonLogMessage {
pub message: String,
/// Log level - accepts various formats (error, ERROR, err, etc.)
#[serde(default, alias = "severity", deserialize_with = "deserialize_opt_level")]
#[serde(
default,
alias = "severity",
deserialize_with = "deserialize_opt_level"
)]
pub level: Option<Level>,
/// Timestamp - accepts Unix epoch seconds (int or string) or RFC3339 string