summaryrefslogtreecommitdiff
path: root/doc/adapter.rst
diff options
context:
space:
mode:
Diffstat (limited to 'doc/adapter.rst')
-rw-r--r--doc/adapter.rst16
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/adapter.rst b/doc/adapter.rst
new file mode 100644
index 0000000..a277de4
--- /dev/null
+++ b/doc/adapter.rst
@@ -0,0 +1,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:
+