summaryrefslogtreecommitdiff
path: root/doc/adapter.rst
blob: a277de41e06509299cb1aa554458bfdc6aec6fb0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Working with Logger adapters
============================

**N.B.** This is part of the standard library since Python 2.6 / 3.1, so the
version here is for use with earlier Python versions.

The class was enhanced for Python 3.2, so you may wish to use this version
with earlier Python versions.

However, note that the :class:`~logutils.adapter.LoggerAdapter` class will **not**
work with Python 2.4 or earlier, as it uses the `extra` keyword argument which
was added in later Python versions.

.. automodule:: logutils.adapter
    :members: