use tracing_subscriber, handle subscription error

This commit is contained in:
Cappy Ishihara 2024-06-02 03:21:58 +07:00
parent 026c6a950e
commit a5be9f187b
No known key found for this signature in database
GPG key ID: 50862C285CB76906
4 changed files with 156 additions and 25 deletions

View file

@ -35,6 +35,7 @@ rand = "0.8.5"
axum = { version = "0.7.5", features = ["ws", "macros", "http2"] }
tower-http = { version = "0.5.2", features = ["trace"] }
tokio = { version = "1.37.0", features = ["full"] }
tracing-subscriber = { version = "0.3.18", features = ["env-filter", "chrono"] }
# TODO: Sort it!
# TODO: Replace Vec<u8> and &[u8] by Bytes