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:
@@ -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.
|
||||
*
|
||||
|
Reference in New Issue
Block a user