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:
@@ -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));
|
||||
|
||||
|
Reference in New Issue
Block a user