Fix lint issue (#1880)

pull/1881/head
Wenwei Zhang 2022-04-15 13:51:02 +08:00 committed by GitHub
parent 51b7a6d74a
commit 3270caf6af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ def print_log(msg, logger=None, level=logging.INFO):
msg (str): The message to be logged.
logger (logging.Logger | str | None): The logger to be used.
Some special loggers are:
- "silent": no message will be printed.
- other str: the logger obtained with `get_root_logger(logger)`.
- None: The `print()` method will be used to print log messages.