Skip to content

Commit

Permalink
Add sys.stdout in SystemHandler
Browse files Browse the repository at this point in the history
  • Loading branch information
IshaanDesai committed Dec 30, 2024
1 parent 23e726c commit a17212b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion micro_manager/tools/logging_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
Provides a logging wrapper for the Micro Manager classes.
"""
import logging
import sys


class Logger:
Expand Down Expand Up @@ -33,7 +34,7 @@ def __init__(
self._rank = rank

if log_file is None:
handler = logging.StreamHandler()
handler = logging.StreamHandler(sys.stdout)
else:
handler = logging.FileHandler(log_file)

Expand Down

0 comments on commit a17212b

Please sign in to comment.