Monolog\Handler\BufferHandler::__construct
Signature
public function __construct(HandlerInterface
$handler,
[integer
$bufferSize = 0,
[integer
$level = Logger::DEBUG,
[Boolean
$bubble = true,
[Boolean
$flushOnOverflow = false]]]] )
Parameters
$handler
—
Monolog\Handler\HandlerInterface
- Handler.
$bufferSize
—
integer
- How many entries should be buffered at most, beyond that the oldest items are removed from the buffer.
$level
—
integer
- The minimum logging level at which this handler will be triggered
$bubble
—
object
- Whether the messages that are handled can bubble up the stack or not
$flushOnOverflow
—
object
- If true, the buffer is flushed when the max size has been reached, by default oldest entries are discarded