File: compat.rst

package info (click to toggle)
logbook 1.7.0-1.0
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,140 kB
  • sloc: python: 6,558; makefile: 141
file content (28 lines) | stat: -rw-r--r-- 506 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
Compatibility
=============

This documents compatibility support with existing systems such as
:mod:`logging` and :mod:`warnings`.

.. currentmodule:: logbook.compat

Logging Compatibility
---------------------

.. autofunction:: redirect_logging

.. autofunction:: redirected_logging

.. autoclass:: RedirectLoggingHandler
   :members:

.. autoclass:: LoggingHandler
   :members:


Warnings Compatibility
----------------------

.. autofunction:: redirect_warnings

.. autofunction:: redirected_warnings