1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-10 15:14:14 +02:00

Rename logFormatter to batchFormatter, refs #203

This commit is contained in:
Jordi Boggiano
2013-07-28 19:01:33 +02:00
parent 87cca51a32
commit a00f102cda
2 changed files with 13 additions and 13 deletions

View File

@@ -100,7 +100,7 @@ class RavenHandlerTest extends TestCase
$formatter->expects($this->once())->method('format');
$handler = $this->getHandler($this->getRavenClient());
$handler->setLogFormatter($logFormatter);
$handler->setBatchFormatter($logFormatter);
$handler->setFormatter($formatter);
$handler->handleBatch($records);
}
@@ -119,13 +119,13 @@ class RavenHandlerTest extends TestCase
$handler->handleBatch($records);
}
public function testGetSetLogFormatter()
public function testGetSetBatchFormatter()
{
$ravenClient = $this->getRavenClient();
$handler = $this->getHandler($ravenClient);
$handler->setLogFormatter($formatter = new LineFormatter());
$this->assertSame($formatter, $handler->getLogFormatter());
$handler->setBatchFormatter($formatter = new LineFormatter());
$this->assertSame($formatter, $handler->getBatchFormatter());
}
private function methodThatThrowsAnException()