Skip to content

Commit

Permalink
fixup! feat: Add trace-level logger
Browse files Browse the repository at this point in the history
  • Loading branch information
TheRealFalcon committed Jul 3, 2024
1 parent d5251db commit 4be6bc0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cloudinit/log.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ def log_at_level(self, message, *args, **kwargs):

logging.addLevelName(DEPRECATED, "DEPRECATED")
logging.addLevelName(TRACE, "TRACE")
logging.Logger.deprecated = new_logger(DEPRECATED) # type: ignore
logging.Logger.trace = new_logger(TRACE) # type: ignore
setattr(logging.Logger, "deprecated", new_logger(DEPRECATED))
setattr(logging.Logger, "trace", new_logger(TRACE))


def setup_logging(cfg=None):
Expand Down

0 comments on commit 4be6bc0

Please sign in to comment.