Skip to content

Commit

Permalink
Add asctime to logging
Browse files Browse the repository at this point in the history
  • Loading branch information
wkentaro committed Nov 26, 2023
1 parent ea320ef commit a6e34d8
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 @@ -55,7 +55,7 @@ def colored(text):

stream_handler = logging.StreamHandler(sys.stderr)
handler_format = ColoredFormatter(
"[%(levelname2)s] %(module2)s:%(funcName2)s:%(lineno2)s - %(message2)s"
"%(asctime)s [%(levelname2)s] %(module2)s:%(funcName2)s:%(lineno2)s - %(message2)s"
)
stream_handler.setFormatter(handler_format)

Expand Down

0 comments on commit a6e34d8

Please sign in to comment.