Home | Trees | Indices | Help |
---|
|
Filterer --+ | Handler --+ | BufferingHandler
A handler class which buffers logging records in memory. Whenever each record is added to the buffer, a check is made to see if the buffer should be flushed. If it should, then flush() is expected to do what's needed.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from |
|
Initialize the handler with the buffer size.
|
Should the handler flush its buffer? Returns true if the buffer is up to capacity. This method can be overridden to implement custom flushing strategies. |
Emit a record. Append the record. If shouldFlush() tells us to, call flush() to process the buffer.
|
Override to implement custom flushing behaviour. This version just zaps the buffer to empty.
|
Close the handler. This version just flushes and chains to the parent class' close().
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Mon Jun 25 10:35:23 2012 | http://epydoc.sourceforge.net |