neuralmonkey.logging module¶
-
class
neuralmonkey.logging.Logging¶ Bases:
object-
static
debug(label: str = None)¶
-
debug_disabled_for= ['']¶
-
static
debug_enabled()¶
-
debug_enabled_for= ['none']¶
-
static
log(color: str = 'yellow') → None¶ Log a message with a colored timestamp.
-
log_file= None¶
-
static
log_print() → None¶ Print a string both to console and a log file is it is defined.
-
static
notice() → None¶ Log a notice with a colored timestamp.
-
static
print_header(path: str) → None¶ Print the title of the experiment and a set of arguments it uses.
-
static
set_log_file() → None¶ Set up the file where the logging will be done.
-
strict_mode= ''¶
-
static
warn() → None¶ Log a warning.
-
static
-
neuralmonkey.logging.debug(message: str, label: str = None)¶
-
neuralmonkey.logging.debug_enabled(label: str = None)¶
-
neuralmonkey.logging.log(message: str, color: str = 'yellow') → None¶ Log a message with a colored timestamp.
-
neuralmonkey.logging.log_print(text: str) → None¶ Print a string both to console and a log file is it is defined.
-
neuralmonkey.logging.notice(message: str) → None¶ Log a notice with a colored timestamp.
-
neuralmonkey.logging.warn(message: str) → None¶ Log a warning.