better logging

This commit is contained in:
OMGeeky
2024-04-28 16:26:19 +02:00
parent f6fc2f8fc4
commit 3b7c287677
2 changed files with 16 additions and 3 deletions

17
Cargo.lock generated
View File

@@ -2974,6 +2974,16 @@ dependencies = [
"tracing-core",
]
[[package]]
name = "tracing-serde"
version = "0.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bc6b213177105856957181934e4920de57730fc69bf42c37ee5bb664d406d9e1"
dependencies = [
"serde",
"tracing-core",
]
[[package]]
name = "tracing-subscriber"
version = "0.3.18"
@@ -2984,12 +2994,15 @@ dependencies = [
"nu-ansi-term",
"once_cell",
"regex",
"serde",
"serde_json",
"sharded-slab",
"smallvec",
"thread_local",
"tracing",
"tracing-core",
"tracing-log",
"tracing-serde",
]
[[package]]
@@ -3011,8 +3024,8 @@ dependencies = [
[[package]]
name = "twba-common"
version = "0.1.0"
source = "git+https://github.com/OMGeeky/twba.common.git#a3499ea8bf573db344ec8269782ecd576f3291b5"
version = "0.2.0"
source = "git+https://github.com/OMGeeky/twba.common.git#153196685ced86bf063b0a98cbb726f15b269dd3"
dependencies = [
"tracing",
"tracing-appender",

View File

@@ -9,7 +9,7 @@ edition = "2021"
twba-backup-config = { version = "0.1.1", git = "https://github.com/OMGeeky/backup_config.git" }
twba-local-db = { version = "0.2", git = "https://github.com/OMGeeky/twitch_backup.local_db.git" }
twba-reqwest-backoff = { version = "0.1", git = "https://github.com/OMGeeky/twba_reqwest_backoff.git" }
twba-common = { version = "0.1", git = "https://github.com/OMGeeky/twba.common.git" }
twba-common = { version = "0.2", git = "https://github.com/OMGeeky/twba.common.git" }
tracing-subscriber = "0.3"