pathpy
1.0
pathpy is an OpenSource python package for the modeling and analysis of pathways and temporal networks using higher-order and multi-order graphical models
|
Static Public Member Functions | |
def | setMinSeverity |
def | setOutputStream |
def | add |
Static Public Attributes | |
output_stream = sys.stdout | |
the output stream to which log entries will be written | |
min_severity = Severity.INFO | |
The minimum severity level of messages to be logged. | |
A simple logging class, that allows to select what messages should be recorded in the output, and where these message should be directed.
|
static |
Adds a message with the given severity to the log. This message will be written to the log output stream, which by default is sys.stdout. A newline character will be added to the message by default.
|
static |
Sets the minimum sveerity level a message needs to have in order to be recorded in the output stream. By default, any message which has a severity of at least Severity.INFO will be written to the output stream. All messages with lower priority will be surpressed.
|
static |
Sets the output stream to which all messages will be written. By default, this is sys.stdout, but it can be changed in order to redirect the log to a logfile.