mirror of
https://github.com/gechandesu/structlog.git
synced 2026-11-15 21:13:54 +03:00
cleanup, use struct update syntax
This commit is contained in:
1 parent
8b13a596f7
commit
f688b3cad5
2 files changed
+4
-7
No files matched your search
@@ -4,7 +4,6 @@ import structlog
|
||||
fn main() {
|
||||
// Initialize logger with edited timestamp.
|
||||
log := structlog.new(
|
||||
// timestamp_format: .unix
|
||||
timestamp: structlog.Timestamp{
|
||||
format: .unix
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user