File: adapter.rst

package info (click to toggle)
python-logutils 0.3.3-5
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 348 kB
  • ctags: 395
  • sloc: python: 1,923; makefile: 84
file content (16 lines) | stat: -rw-r--r-- 544 bytes parent folder | download | duplicates (5)
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: