()
| 315 | } |
| 316 | |
| 317 | pub fn default() -> Logger { |
| 318 | let mut tags = HashMap::new(); |
| 319 | tags.insert("service".to_string(), "default".to_string()); |
| 320 | Self::create(Some(tags)) |
| 321 | } |
| 322 | |
| 323 | pub fn init(_level: Option<LogLevel>, log_dir: Option<PathBuf>, print: bool) -> Option<PathBuf> { |
| 324 | if print { |