mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-10-25 23:00:32 +08:00
Reduce tauri log verbosity
Instead of logging to stdout everything, just do so until `Info` level
This commit is contained in:
@@ -9,7 +9,11 @@ pub fn run() {
|
||||
#[cfg(debug_assertions)]
|
||||
let builder = tauri::Builder::default()
|
||||
.plugin(tauri_plugin_dialog::init())
|
||||
.plugin(tauri_plugin_log::Builder::new().build());
|
||||
.plugin(
|
||||
tauri_plugin_log::Builder::new()
|
||||
.level(log::LevelFilter::Info)
|
||||
.build(),
|
||||
);
|
||||
#[cfg(not(debug_assertions))]
|
||||
let builder = tauri::Builder::default();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user