mirror of
https://github.com/FranP-code/ChatGPT.git
synced 2025-10-13 00:13:25 +00:00
chore: log level
This commit is contained in:
@@ -34,11 +34,7 @@ async fn main() {
|
|||||||
// https://github.com/tauri-apps/tauri/pull/2736
|
// https://github.com/tauri-apps/tauri/pull/2736
|
||||||
.plugin(
|
.plugin(
|
||||||
LoggerBuilder::new()
|
LoggerBuilder::new()
|
||||||
.level(if cfg!(debug_assertions) {
|
.level(log::LevelFilter::Debug)
|
||||||
log::LevelFilter::Debug
|
|
||||||
} else {
|
|
||||||
log::LevelFilter::Trace
|
|
||||||
})
|
|
||||||
.with_colors(colors)
|
.with_colors(colors)
|
||||||
.targets([
|
.targets([
|
||||||
// LogTarget::LogDir,
|
// LogTarget::LogDir,
|
||||||
|
|||||||
Reference in New Issue
Block a user