chore: improve rmcl diagnostic logging
This commit is contained in:
1 parent
a58e6fb76d
commit
09bc8f26fb
23 files changed
+925
-61
No files matched your search
@@ -4,8 +4,10 @@ async fn main() {
|
||||
|
||||
// Guard must stay in scope to keep the log file writer alive
|
||||
let _guard = rmcl::tui::logging::init();
|
||||
tracing::info!("Starting rmcl {}", env!("CARGO_PKG_VERSION"));
|
||||
if let Err(e) = color_eyre::install() {
|
||||
eprintln!("Failed to install color-eyre: {}", e);
|
||||
tracing::warn!("Failed to install color-eyre handler: {}", e);
|
||||
}
|
||||
|
||||
rmcl::cli_init().await
|
||||
|
||||
Reference in new issue
Block a user