We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f6622a3 commit 1a6627eCopy full SHA for 1a6627e
.changes/default-log-level.md
@@ -0,0 +1,6 @@
1
+---
2
+"@tauri-apps/cli": patch:enhance
3
+"tauri-cli": patch:enhance
4
5
+
6
+Set a default log level filter when running `tauri add log`.
crates/tauri-cli/src/add.rs
@@ -132,6 +132,8 @@ pub fn run(options: Options) -> Result<()> {
132
"Builder::new(todo!()).build()"
133
} else if plugin == "single-instance" {
134
"init(|app, args, cwd| {})"
135
+ } else if plugin == "log" {
136
+ "Builder::new().level(tauri_plugin_log::log::LevelFilter::Info).build()"
137
} else if metadata.builder {
138
"Builder::new().build()"
139
} else {
0 commit comments