logger_client

Logger utility for the SKA SRC API Compute client.

Module Contents

Classes

LoggerClient

Logger client for the SKA SRC API Compute client.

class logger_client.LoggerClient

Logger client for the SKA SRC API Compute client.

__DEFAULT_LOGGING_FORMAT = '%(asctime)s|%(levelname)s|%(name)s - %(filename)s:%(lineno)d|Thread: %(threadName)s|%(message)s'
__DEFAULT_LOG_LEVEL = 'INFO'
__DEFAULT_TIME_FORMAT = '%Y-%m-%d %H:%M:%S'
_nameToLevel
logger
static __default_log_level(log_level=None)

Return the default log level if not specified in log_levels.

static __logging_format(log_format=None)

Return the logging format if not specified in log_format.

static __time_format(time_format=None)

Return the time format for logging.

static get_logger(name=None)

Get a logger with the given name; defaults to module name.

static setup_logging(properties=None)

Set up logging configuration.