Shortcuts

mmedit.utils.logger

Module Contents

Functions

print_colored_log(msg[, level, color])

Print colored log with default logger.

mmedit.utils.logger.print_colored_log(msg, level=logging.INFO, color='magenta')[源代码]

Print colored log with default logger.

参数
  • msg (str) – Message to log.

  • level (int) – The root logger level. Note that only the process of rank 0 is affected, while other processes will set the level to “Error” and be silent most of the time.Log level, default to ‘info’.

  • color (str, optional) – Color ‘magenta’.

Read the Docs v: latest
Versions
master
latest
stable
zyh-doc-notfound-extend
Downloads
pdf
epub
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.