Unverified Commit 5cded66a authored by Song Lin's avatar Song Lin Committed by GitHub
Browse files

Fix docstring (#1876)

parent 85b37e7b
...@@ -89,6 +89,7 @@ def print_log(msg, logger=None, level=logging.INFO): ...@@ -89,6 +89,7 @@ def print_log(msg, logger=None, level=logging.INFO):
msg (str): The message to be logged. msg (str): The message to be logged.
logger (logging.Logger | str | None): The logger to be used. logger (logging.Logger | str | None): The logger to be used.
Some special loggers are: Some special loggers are:
- "silent": no message will be printed. - "silent": no message will be printed.
- other str: the logger obtained with `get_root_logger(logger)`. - other str: the logger obtained with `get_root_logger(logger)`.
- None: The `print()` method will be used to print log messages. - None: The `print()` method will be used to print log messages.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment