Skip to content

Commit

Permalink
370 restrict info logging to just ephys link (#372)
Browse files Browse the repository at this point in the history
* Set logger to default, only enable info for ephys link

* Version bump

* Fixed linting error
  • Loading branch information
kjy5 authored Jul 24, 2024
1 parent 375e4b0 commit ca5c59b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/ephys_link/__about__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "2.0.0b2"
__version__ = "2.0.0b3"
2 changes: 1 addition & 1 deletion src/ephys_link/util/console.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ def __init__(self, *, enable_debug: bool) -> None:

# Config logger.
basicConfig(
level=DEBUG if enable_debug else INFO,
format="%(message)s",
datefmt="[%I:%M:%S %p]",
handlers=[RichHandler(rich_tracebacks=True)],
)
self._log = getLogger("rich")
self._log.setLevel(DEBUG if enable_debug else INFO)

# Install Rich traceback.
install()
Expand Down

0 comments on commit ca5c59b

Please sign in to comment.