Switched to tracing for logging

This commit is contained in:
2024-05-02 16:50:05 +03:00
parent 4ac34a73bb
commit e8be611404
4 changed files with 152 additions and 74 deletions

View File

@@ -35,9 +35,7 @@ dotenvy = "0.15"
entity = { version = "0.1", path = "entity" }
futures = "0.3"
itertools = "0.12"
log = "0.4"
parking_lot = "0.12"
pretty_env_logger = "0.5"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
serde_yaml = "0.9"
@@ -49,5 +47,15 @@ teloxide = { version = "0.12", features = [
"throttle",
], default-features = false }
thiserror = "1"
tokio = { version = "1", features = ["macros", "rt-multi-thread"] }
tokio = { version = "1", features = [
"macros",
"rt-multi-thread",
"sync",
"parking_lot",
] }
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = [
"parking_lot",
"env-filter",
] }
trim-in-place = "0.1"