jLM.LMLogger#

Logger for Lattice Microbes

Functions

setLMLogConsole([level])

Set the logger to write to the console as the code is working

setLMLogFile(filename[, level])

Set up file handler to print log to file

setLMLoggerLevel(level)

Set the level of the logger for the application

jLM.LMLogger.setLMLogConsole(level=10)[source]#

Set the logger to write to the console as the code is working

Parameters:

level – The level of information to log

jLM.LMLogger.setLMLogFile(filename, level=10)[source]#

Set up file handler to print log to file

Parameters:
  • filename – The name of the file to log information

  • level – The level of information to log

jLM.LMLogger.setLMLoggerLevel(level)[source]#

Set the level of the logger for the application

Parameters:

level – The level the logger should report (e.g. logger.WARNING, logger.INFO, etc.)