Skip to content
Snippets Groups Projects
Commit 2c1282f5 authored by Ian Jackson's avatar Ian Jackson
Browse files

Make LogRotation Serialize

We want to be able to serialise as well as deserialise configurations.
parent 08eba63a
No related branches found
No related tags found
No related merge requests found
......@@ -98,7 +98,7 @@ pub struct LogfileConfig {
}
/// How often to rotate a log file
#[derive(Deserialize, Debug, Clone, Copy, Eq, PartialEq)]
#[derive(Debug, Clone, Serialize, Deserialize, Copy, Eq, PartialEq)]
#[non_exhaustive]
#[serde(rename_all = "lowercase")]
pub enum LogRotation {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment