neural_compressor.utils.logger
¶
Logger: handles logging functionalities.
Module Contents¶
Classes¶
Logger class. |
Functions¶
|
Output log with the level as a parameter. |
|
Output log with the debug level. |
|
Output log with the error level. |
|
Output log with the fatal level. |
|
Output log with the info level. |
|
Output log with the warning level. |
|
Output log with the warining level (Alias of the method warn). |
- class neural_compressor.utils.logger.Logger¶
Bases:
object
Logger class.
- get_logger()¶
Get the logger.
- neural_compressor.utils.logger.log(level, msg, *args, **kwargs)¶
Output log with the level as a parameter.
- neural_compressor.utils.logger.debug(msg, *args, **kwargs)¶
Output log with the debug level.
- neural_compressor.utils.logger.error(msg, *args, **kwargs)¶
Output log with the error level.
- neural_compressor.utils.logger.fatal(msg, *args, **kwargs)¶
Output log with the fatal level.
- neural_compressor.utils.logger.info(msg, *args, **kwargs)¶
Output log with the info level.
- neural_compressor.utils.logger.warn(msg, *args, **kwargs)¶
Output log with the warning level.
- neural_compressor.utils.logger.warning(msg, *args, **kwargs)¶
Output log with the warining level (Alias of the method warn).