mlrl.testbed.extensions.extension_log module

Author: Michael Rapp (michael.rapp.ml@gmail.com)

Provides classes that allow configuring the logger.

class mlrl.testbed.extensions.extension_log.LogExtension(*dependencies: Extension)

Bases: Extension

An extension that configures the logger to be used by the command line API.

LOG_LEVEL = <mlrl.util.cli.EnumArgument object>
class LogLevel(*values)

Bases: Enum

Specifies all valid textual representations of log levels.

CRITICAL = 50
DEBUG = 10
ERROR = 40
FATAL = 50
INFO = 20
NOTSET = 0
WARN = 30
WARNING = 30
configure_experiment(args: Namespace, _: Builder)

See mlrl.testbed.extensions.extension.Extension.configure_experiment()