1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-10-20 16:16:37 +02:00

Merge branch '1.x'

This commit is contained in:
Jordi Boggiano
2016-03-01 18:04:51 +00:00
5 changed files with 76 additions and 59 deletions

View File

@@ -84,6 +84,7 @@ class AmqpHandler extends AbstractProcessingHandler
{
if ($this->exchange instanceof AMQPExchange) {
parent::handleBatch($records);
return;
}
@@ -108,7 +109,7 @@ class AmqpHandler extends AbstractProcessingHandler
/**
* Gets the routing key for the AMQP exchange
*
* @param array $record
* @param array $record
* @return string
*/
private function getRoutingKey(array $record)
@@ -124,7 +125,7 @@ class AmqpHandler extends AbstractProcessingHandler
}
/**
* @param string $data
* @param string $data
* @return AMQPMessage
*/
private function createAmqpMessage($data)