Skip to content

Commit

Permalink
updated docs string
Browse files Browse the repository at this point in the history
  • Loading branch information
btr1975 committed Mar 23, 2023
1 parent b47bccc commit 46e9b0f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions zapish_logger/logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ def add_console_logger(root_logger: logging.Logger) -> None:
:rtype: None
:returns: Nothing it adds a console logger
:raises TypeError: If root_logger is not of type logging.Logger
"""
if not isinstance(root_logger, logging.Logger):
raise TypeError(f'root_logger must be of type logging.Logger but received a {type(root_logger)}')
Expand Down

0 comments on commit 46e9b0f

Please sign in to comment.