feat(log): implement mobile logging

This commit is contained in:
Lucas Nogueira
2023-01-16 17:47:43 -03:00
parent 58dd417f1b
commit 42037a7a99
4 changed files with 420 additions and 131 deletions
+11 -2
View File
@@ -12,12 +12,21 @@ rust-version.workspace = true
[dependencies]
serde.workspace = true
serde_json.workspace = true
tauri.workspace = true
# tauri.workspace = true
tauri = { path = "../../../tauri/core/tauri" }
serde_repr = "0.1"
byte-unit = "4.0"
fern = "0.6"
log = { workspace = true, features = ["kv_unstable"] }
time = { version = "0.3", features = ["formatting"] }
[target."cfg(any(target_os = \"macos\", windows, target_os = \"linux\", target_os = \"dragonfly\", target_os = \"freebsd\", target_os = \"openbsd\", target_os = \"netbsd\"))".dependencies]
fern = "0.6"
[target."cfg(target_os = \"android\")".dependencies]
android_logger = "0.9"
[target."cfg(target_os = \"ios\")".dependencies]
oslog = "0.2"
[features]
colored = ["fern/colored"]