|
PALM-meteo
|
Classes | |
| class | LoggingLevel |
| class | LoggingOutput |
Functions | |
| timed_flush (signum, frame) | |
| die (s, *args, **kwargs) | |
| warn (s, *args, **kwargs) | |
| configure_log (verbosity, log_datetime=False) | |
| finalize_log () | |
Variables | |
| str | dtf = '%Y-%m-%d %H:%M:%S ' |
| int | flush_timeout = 1 |
| flushers = set() | |
| bool | schedule_flushing = True |
| log_output = LoggingOutput(sys.stdout).write | |
| log = LoggingLevel(True) | |
| verbose = LoggingLevel(False) | |
| palmmeteo.logging.configure_log | ( | verbosity, | |
log_datetime = False |
|||
| ) |
| palmmeteo.logging.die | ( | s, | |
| * | args, | ||
| ** | kwargs | ||
| ) |
Write message to error output and exit with status 1.
| palmmeteo.logging.finalize_log | ( | ) |
| palmmeteo.logging.timed_flush | ( | signum, | |
| frame | |||
| ) |
| palmmeteo.logging.warn | ( | s, | |
| * | args, | ||
| ** | kwargs | ||
| ) |
Write message to error output.
| str palmmeteo.logging.dtf = '%Y-%m-%d %H:%M:%S ' |
| int palmmeteo.logging.flush_timeout = 1 |
| palmmeteo.logging.flushers = set() |
| palmmeteo.logging.log = LoggingLevel(True) |
| palmmeteo.logging.log_output = LoggingOutput(sys.stdout).write |
| bool palmmeteo.logging.schedule_flushing = True |
| palmmeteo.logging.verbose = LoggingLevel(False) |