summaryrefslogtreecommitdiff
path: root/doc/adapter.rst
diff options
context:
space:
mode:
authorVinay Sajip <vinay_sajip@yahoo.co.uk>2011-01-24 10:59:31 +0000
committerVinay Sajip <vinay_sajip@yahoo.co.uk>2011-01-24 10:59:31 +0000
commit644cbf93f0e4e73c076d26d7b4bce74744bf87d0 (patch)
tree9809a50297b764c18f2016c74b806be1ca447bae /doc/adapter.rst
parent25f7fa03a204cce1e3f982ae2833af0d5af215ab (diff)
downloadlogutils-git-644cbf93f0e4e73c076d26d7b4bce74744bf87d0.tar.gz
More changes for 0.3.
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:
+