Add example module for documentation

It currently doesn't show anything as all items are pub(crate).
This commit is contained in:
Lukas Kalbertodt
2021-04-29 19:00:36 +02:00
parent 1ae45a3e7c
commit bfab0e8798
5 changed files with 53 additions and 8 deletions

View File

@@ -10,10 +10,10 @@ mod config {
level: log::LevelFilter = "debug",
/// If this is set, log messages are also written to this file.
#[example = "/var/log/tobira.log"]
#[example = "/var/log/test.log"]
file: Option<PathBuf>,
}
}
},
}