Skip to content

Commit

Permalink
Update test_StreamOnlyLogger.py
Browse files Browse the repository at this point in the history
  • Loading branch information
MacHu-GWU committed Apr 17, 2022
1 parent ca5cd7a commit 5ab7704
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/test_StreamOnlyLogger.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@

def test():
logger = StreamOnlyLogger()
logger.remove_all_handler()
logger.recover_all_handler()

logger.debug("debug", 0) # not displayed
logger.info("info", 1)
logger.warning("warning", 2)
Expand Down

0 comments on commit 5ab7704

Please sign in to comment.