neural_compressor.utils.logger

Logger: handles logging functionalities.

Module Contents

Classes

Logger

Logger class.

Functions

log(level, msg, *args, **kwargs)

Output log with the level as a parameter.

debug(msg, *args, **kwargs)

Output log with the debug level.

error(msg, *args, **kwargs)

Output log with the error level.

fatal(msg, *args, **kwargs)

Output log with the fatal level.

info(msg, *args, **kwargs)

Output log with the info level.

warn(msg, *args, **kwargs)

Output log with the warning level.

warning(msg, *args, **kwargs)

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).