feat: add config log type and improve window logging

This commit is contained in:
Tunglies
2025-03-26 16:43:26 +08:00
parent 1ace560531
commit d91653b218
5 changed files with 84 additions and 64 deletions

View File

@@ -6,6 +6,7 @@ pub enum Type {
Service,
Hotkey,
Window,
Config,
}
impl fmt::Display for Type {
@@ -15,6 +16,7 @@ impl fmt::Display for Type {
Type::Service => write!(f, "[Service]"),
Type::Hotkey => write!(f, "[Hotkey]"),
Type::Window => write!(f, "[Window]"),
Type::Config => write!(f, "[Config]"),
}
}
}