![]() |
pyLM
v1.1
A Python Problem Solving Environment for the simulation of stochastic biological systems
|
Classes | |
class | NullHandler |
Functions | |
def | setLMLoggerLevel |
Set the level of the logger for the application. More... | |
def | setLMLogFile |
Set up file handler to print log to file. More... | |
def | setLMLogConsole |
Set the logger to write to the console as the code is working. More... | |
Variables | |
tuple | LMLogger = logging.getLogger('LMLogger') |
tuple | nullHandlerLM = logging.NullHandler() |
tuple | LMformatter = logging.Formatter('%(asctime)s: %(levelname)s: %(message)s') |
def pyLM.LMLogger.setLMLogConsole | ( | level = logging.DEBUG | ) |
Set the logger to write to the console as the code is working.
level | The level of information to log |
def pyLM.LMLogger.setLMLogFile | ( | filename, | |
level = logging.DEBUG |
|||
) |
Set up file handler to print log to file.
filename | The name of the file to log information |
level | The level of information to log |
def pyLM.LMLogger.setLMLoggerLevel | ( | level | ) |
Set the level of the logger for the application.
level | The level the logger should report (e.g. logger.WARNING, logger.INFO, etc.) |
tuple pyLM.LMLogger.LMformatter = logging.Formatter('%(asctime)s: %(levelname)s: %(message)s') |
tuple pyLM.LMLogger.LMLogger = logging.getLogger('LMLogger') |
tuple pyLM.LMLogger.nullHandlerLM = logging.NullHandler() |