1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-07-31 18:30:15 +02:00

get issuer name from record param channel, instead of passing it through handler constructor

This commit is contained in:
pomaxa
2012-06-15 13:18:44 +03:00
parent 6a86fa4444
commit 6b4f4af85f
3 changed files with 31 additions and 28 deletions

View File

@@ -34,7 +34,7 @@ class AmqpHandlerTest extends TestCase
{
$exchange = $this->getExchange();
$handler = new AmqpHandler($exchange, 'log', 'test');
$handler = new AmqpHandler($exchange, 'log');
$record = $this->getRecord(Logger::WARNING, 'test', array('data' => new \stdClass, 'foo' => 34));