Skip to content

Commit 739d4d9

Browse files
NoamNolhynek
andauthored
Fix "default" TimeStamper args in docs/getting-started.md (#556)
* Update docs/getting-started.md - Fix TimeStamper params * Update docs/getting-started.md --------- Co-authored-by: Hynek Schlawack <[email protected]>
1 parent bb1799f commit 739d4d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/getting-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ structlog.configure(
5454
structlog.processors.add_log_level,
5555
structlog.processors.StackInfoRenderer(),
5656
structlog.dev.set_exc_info,
57-
structlog.processors.TimeStamper(),
57+
structlog.processors.TimeStamper(fmt="%Y-%m-%d %H:%M:%S", utc=False),
5858
structlog.dev.ConsoleRenderer()
5959
],
6060
wrapper_class=structlog.make_filtering_bound_logger(logging.NOTSET),

0 commit comments

Comments
 (0)