Additional handlers for the logging package for Python. The core
package is based on PEP 282 and comments thereto in comp.lang.python, and
influenced by Apache's log4j system.
Should work under Python versions >= 1.5.2, except that source line
information is not available unless 'sys._getframe()' is.
Copyright (C) 2001-2004 Vinay Sajip. All Rights Reserved.
To use, simply 'import logging' and log away!
Classes |
BaseRotatingHandler |
Base class for handlers that rotate log files at a certain point. |
BufferingHandler |
A handler class which buffers logging records in memory. |
DatagramHandler |
A handler class which writes logging records, in pickle format, to a
datagram socket. |
HTTPHandler |
A class which sends records to a Web server, using either GET or POST
semantics. |
MemoryHandler |
A handler class which buffers logging records in memory, periodically
flushing them to a target handler. |
NTEventLogHandler |
A handler class which sends events to the NT Event Log. |
RotatingFileHandler |
Handler for logging to a set of files, which switches from one file to
the next when the current file reaches a certain size. |
SMTPHandler |
A handler class which sends an SMTP email for each logging event. |
SocketHandler |
A handler class which writes logging records, in pickle format, to a
streaming socket. |
SysLogHandler |
A handler class which sends formatted logging records to a syslog
server. |
TimedRotatingFileHandler |
Handler for logging to a file, rotating the log file at certain timed
intervals. |