log panics

This commit is contained in:
galister
2024-04-15 22:25:26 +09:00
parent be81c344d3
commit 7ca6df6d3b
3 changed files with 74 additions and 0 deletions

View File

@@ -159,6 +159,8 @@ fn logging_init(args: &mut Args) -> anyhow::Result<()> {
} else {
flexi_logger::Logger::try_with_env_or_str("info")?.start()?;
}
log_panics::init();
Ok(())
}