mirror of
https://github.com/zhboner/realm.git
synced 2026-11-17 08:15:55 +00:00
fix log configuration display
This commit is contained in:
+1
-1
@@ -132,7 +132,7 @@ impl Display for LogConf {
|
||||
fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result {
|
||||
let LogConf { level, output } = self.clone();
|
||||
let level = level.unwrap_or_default();
|
||||
let output = output.unwrap_or_default();
|
||||
let output = output.unwrap_or(String::from("stdout"));
|
||||
|
||||
write!(f, "level={}, output={}", level, output)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user