Commit 66d19e2a authored by Vinay Sajip's avatar Vinay Sajip

logging: Updated SysLogHandler documentation.

parent 27e02402
...@@ -2142,6 +2142,14 @@ supports sending logging messages to a remote or local Unix syslog. ...@@ -2142,6 +2142,14 @@ supports sending logging messages to a remote or local Unix syslog.
| ``local7`` | LOG_LOCAL7 | | ``local7`` | LOG_LOCAL7 |
+---------------+---------------+ +---------------+---------------+
.. method:: mapPriority(levelname)
Maps a logging level name to a syslog priority name.
You may need to override this if you are using custom levels, or
if the default algorithm is not suitable for your needs. The
default algorithm maps ``DEBUG``, ``INFO``, ``WARNING``, ``ERROR`` and
``CRITICAL`` to the equivalent syslog names, and all other level
names to "warning".
.. _nt-eventlog-handler: .. _nt-eventlog-handler:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment