[log] Allow to use local timezone instead of UTC when writing logs (#269)

* Allow to use local timezone instead of UTC timezone when writing log

* Address PR feedback

* Fix cargo clippy

* revert `time` version

---------

Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
This commit is contained in:
ngapham@kobiton.com
2023-03-06 21:31:28 +07:00
committed by GitHub
parent 1d52416f70
commit 6d7b985b46
3 changed files with 69 additions and 13 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ serde_repr = "0.1"
byte-unit = "4.0"
fern = "0.6"
log = { workspace = true, features = ["kv_unstable"] }
time = { version = "0.3", features = ["formatting"] }
time = { version = "0.3", features = ["formatting", "local-offset"] }
[features]
colored = ["fern/colored"]