Skip to content

Commit 4912ac5

Browse files
authored
Merge pull request #50 from modern-python/default-stream-logging
set stdout as default logging stream
2 parents 7dfafd9 + 632fda0 commit 4912ac5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lite_bootstrap/instruments/logging_instrument.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def __init__(
5858
logging_buffer_capacity: int,
5959
logging_flush_level: int,
6060
logging_log_level: int,
61-
log_stream: typing.Any = None, # noqa: ANN401
61+
log_stream: typing.Any = sys.stdout, # noqa: ANN401
6262
**kwargs: typing.Any, # noqa: ANN401
6363
) -> None:
6464
super().__init__(*args, **kwargs)

0 commit comments

Comments
 (0)