neural_compressor.utils.logger

Logger: handles logging functionalities.

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 warning level (Alias of the method warn).

Module Contents

class neural_compressor.utils.logger.Logger[source]

Logger class.

neural_compressor.utils.logger.log(level, msg, *args, **kwargs)[source]

Output log with the level as a parameter.

neural_compressor.utils.logger.debug(msg, *args, **kwargs)[source]

Output log with the debug level.

neural_compressor.utils.logger.error(msg, *args, **kwargs)[source]

Output log with the error level.

neural_compressor.utils.logger.fatal(msg, *args, **kwargs)[source]

Output log with the fatal level.

neural_compressor.utils.logger.info(msg, *args, **kwargs)[source]

Output log with the info level.

neural_compressor.utils.logger.warn(msg, *args, **kwargs)[source]

Output log with the warning level.

neural_compressor.utils.logger.warning(msg, *args, **kwargs)[source]

Output log with the warning level (Alias of the method warn).