Skip to content

Commit

Permalink
update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
sdaza committed Jan 1, 2025
1 parent 87d4cfa commit e67d4e8
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions experiment_utils/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,13 @@ def turn_off_package_logger(package: str) -> None:


def get_logger(name: str) -> logging.Logger:
""""
Get a logger with the specified name.
:param name: The name of the logger.
:return: The logger.
"""

logger = logging.getLogger(name)
logger.setLevel(logging.INFO)

Expand Down

0 comments on commit e67d4e8

Please sign in to comment.