pipeline.extern.logutils

The logutils package provides a set of handlers for the Python standard library’s logging package.

Some of these handlers are out-of-scope for the standard library, and so they are packaged here. Others are updated versions which have appeared in recent Python releases, but are usable with older versions of Python, and so are packaged here.

Functions

hasHandlers(logger)

See if a logger has any handlers.

Classes

BraceMessage(fmt, *args, **kwargs)

DollarMessage(fmt, **kwargs)

Formatter([fmt, datefmt, style])

Subclasses Formatter in Pythons earlier than 3.2 in order to give 3.2 Formatter behaviour with respect to allowing %-, {} or $- formatting.

NullHandler([level])

This handler does nothing.

PercentStyle(fmt)

StrFormatStyle(fmt)

StringTemplateStyle(fmt)

Modules

pipeline.extern.logutils.adapter

pipeline.extern.logutils.colorize

pipeline.extern.logutils.dictconfig

pipeline.extern.logutils.http

pipeline.extern.logutils.queue

This module contains classes which help you work with queues.

pipeline.extern.logutils.testing