mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-06 21:26:43 +02:00
Bring sampling handler in line with other wrapper handlers
This commit is contained in:
@@ -23,8 +23,7 @@ class SamplingHandlerTest extends TestCase
|
||||
{
|
||||
$testHandler = new TestHandler();
|
||||
$handler = new SamplingHandler($testHandler, 2);
|
||||
for ($i=0; $i<10000; $i++)
|
||||
{
|
||||
for ($i = 0; $i < 10000; $i++) {
|
||||
$handler->handle($this->getRecord());
|
||||
}
|
||||
$count = count($testHandler->getRecords());
|
||||
|
Reference in New Issue
Block a user