| Home | Trees | Index | Help |
|
|---|
|
|
Filterer --+ | Handler --+ | StreamHandler --+ | FileHandler --+ | BaseRotatingHandler --+ | RotatingFileHandler
| Method Summary | |
|---|---|
| __init__(self,
filename,
mode,
maxBytes,
backupCount,
encoding)
Open the specified file and use it as the stream for logging. | |
| doRollover(self)
Do a rollover, as described in __init__(). | |
| shouldRollover(self,
record)
Determine if rollover should occur. | |
| Inherited from BaseRotatingHandler | |
| emit(self,
record)
Emit a record. | |
| Inherited from FileHandler | |
| close(self)
Closes the stream. | |
| Inherited from StreamHandler | |
| flush(self)
Flushes the stream. | |
| Inherited from Handler | |
| acquire(self)
Acquire the I/O thread lock. | |
| createLock(self)
Acquire a thread lock for serializing access to the underlying I/O. | |
| format(self,
record)
Format the specified record. | |
| handle(self,
record)
Conditionally emit the specified logging record. | |
| handleError(self,
record)
Handle errors which occur during an emit() call. | |
| release(self)
Release the I/O thread lock. | |
| setFormatter(self,
fmt)
Set the formatter for this handler. | |
| setLevel(self,
level)
Set the logging level of this handler. | |
| Inherited from Filterer | |
| addFilter(self,
filter)
Add the specified filter to this handler. | |
| filter(self,
record)
Determine if a record is loggable by consulting all the filters. | |
| removeFilter(self,
filter)
Remove the specified filter from this handler. | |
| Method Details |
|---|
__init__(self,
filename,
mode='a',
maxBytes=0,
backupCount=0,
encoding=None)
|
doRollover(self)Do a rollover, as described in __init__(). |
shouldRollover(self, record)Determine if rollover should occur. Basically, see if the supplied record would cause the file to exceed the size limit we have. |
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Thu Oct 13 20:20:57 2005 | http://epydoc.sf.net |