fluidimage.util.log#

logging (fluidimage.util.log)#

fluidimage.util.log.log_memory_usage(string='Memory usage', color='OKGREEN', mode=None)[source]#

Log the memory usage.

fluidimage.util.log.reset_logger()[source]#

Remove all handlers (files) linked to the fluidimage logger

fluidimage.util.log.log_debug(string)[source]#

Log in debug mode with WARNING color

fluidimage.util.log.log_error(string)[source]#

Log in error mode with FAIL color

Functions

config_logging([level, name, file])

log_debug(string)

Log in debug mode with WARNING color

log_error(string)

Log in error mode with FAIL color

log_memory_usage([string, color, mode])

Log the memory usage.

reset_logger()

Remove all handlers (files) linked to the fluidimage logger