Updated logging to both file and console

This commit is contained in:
2025-12-22 00:21:08 +08:00
parent fd257b90da
commit 2b368fe556
3 changed files with 36 additions and 4 deletions

13
src-tauri/Cargo.lock generated
View File

@@ -2274,6 +2274,15 @@ dependencies = [
"syn 2.0.110",
]
[[package]]
name = "matchers"
version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d1525a2a28c7f4fa0fc98bb91ae755d1e2d1505079e05539e35bc876b5d65ae9"
dependencies = [
"regex-automata",
]
[[package]]
name = "matches"
version = "0.1.10"
@@ -4977,10 +4986,14 @@ version = "0.3.20"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2054a14f5307d601f88daf0553e1cbf472acc4f2c51afab632431cdcd72124d5"
dependencies = [
"matchers",
"nu-ansi-term",
"once_cell",
"regex-automata",
"sharded-slab",
"smallvec",
"thread_local",
"tracing",
"tracing-core",
"tracing-log",
]