1
0
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:
Jordi Boggiano
2014-12-28 17:05:54 +00:00
parent 45f5c7d2d1
commit 8160b302a2
2 changed files with 31 additions and 35 deletions

View File

@@ -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());