palmmeteo.logging(3)

NAME
palmmeteo.logging

SYNOPSIS

  Classes
class LoggingLevel

  Functions
def die (s, *args, **kwargs)
def warn (s, *args, **kwargs)
def configure_log (verbosity, log_datetime=False)

  Variables
string dtf = '%Y-%m-%d %H:%M:%S '
log_output = sys.stdout.write
error_output = sys.stderr.write
log = LoggingLevel(True)
verbose = LoggingLevel(False)

Function Documentation

  def palmmeteo.logging.configure_log ( verbosity, log_datetime = False)

  def palmmeteo.logging.die ( s, * args, ** kwargs)

Write message to error output and exit with status 1.

  def palmmeteo.logging.warn ( s, * args, ** kwargs)

Write message to error output.

Variable Documentation

  string palmmeteo.logging.dtf = '%Y-%m-%d %H:%M:%S '

  palmmeteo.logging.error_output = sys.stderr.write

  palmmeteo.logging.log = LoggingLevel(True)

  palmmeteo.logging.log_output = sys.stdout.write

  palmmeteo.logging.verbose = LoggingLevel(False)

Author

Generated automatically by Doxygen for PALM-meteo from the source code.