Skip to content

Commit

Permalink
Stop using setLoggerClass
Browse files Browse the repository at this point in the history
  • Loading branch information
wkentaro committed Jun 25, 2022
1 parent addfed4 commit f24982e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion labelme/logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,5 +67,5 @@ def __init__(self, name):
return


logging.setLoggerClass(ColoredLogger)
logger = logging.getLogger(__appname__)
logger.__class__ = ColoredLogger

0 comments on commit f24982e

Please sign in to comment.