The array_split.logging Module

Default initialisation of python logging.

Some simple wrappers of python built-in logging module for array_split logging.

Classes and Functions

SplitStreamHandler([outstr, errstr, splitlevel])

A python logging.handlers Handler class for splitting logging messages to different streams depending on the logging-level.

initialise_loggers(names[, log_level, ...])

Initialises specified loggers to generate output at the specified logging level.

get_formatter([prefix_string])

Returns logging.Formatter object which produces messages with time and prefix_string prefix.