chore: Set default internal log level to trace
This commit is contained in:
parent
1a1e17fa10
commit
2faf16a68d
1 changed files with 5 additions and 3 deletions
|
|
@ -13,7 +13,10 @@ async fn get_tray_status(tray: tauri::State<'_, TrayManager>) -> Result<bool, St
|
||||||
}
|
}
|
||||||
|
|
||||||
#[tauri::command]
|
#[tauri::command]
|
||||||
async fn start_tray(tray: tauri::State<'_, TrayManager>, app: tauri::AppHandle) -> Result<(), String> {
|
async fn start_tray(
|
||||||
|
tray: tauri::State<'_, TrayManager>,
|
||||||
|
app: tauri::AppHandle,
|
||||||
|
) -> Result<(), String> {
|
||||||
tray.start(&app).await.map_err(|e| e.to_string())
|
tray.start(&app).await.map_err(|e| e.to_string())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -157,8 +160,7 @@ fn create_tray_with_mode(mode: String) -> Result<String, String> {
|
||||||
}
|
}
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
botlib::logging::init_compact_logger("info");
|
botlib::logging::init_compact_logger("trace");
|
||||||
|
|
||||||
let version = env!("CARGO_PKG_VERSION");
|
let version = env!("CARGO_PKG_VERSION");
|
||||||
info!("BotApp {version} starting...");
|
info!("BotApp {version} starting...");
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue