1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-10-22 17:16:18 +02:00

Added a BufferHandler to allow batch processing of the records

This commit is contained in:
Christophe Coevoet
2011-04-05 09:41:27 +02:00
parent b90eddd513
commit b2d356bbf2
4 changed files with 154 additions and 0 deletions

View File

@@ -35,6 +35,14 @@ interface HandlerInterface
*/
function handle(array $record);
/**
* Handles a set of records.
*
* @param array $records The records to handle (an array of record arrays)
* @return Boolean Whether the handler stops the propagation in the stack or not.
*/
function handleBatch(array $records);
/**
* Adds a processor in the stack.
*