1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-06 13:16:39 +02:00

Allow overriding the routing key in AMQPHandler, fixes #874

This commit is contained in:
Jordi Boggiano
2016-11-13 20:12:29 +01:00
parent e1fd076dbc
commit 2c1ed388c2

View File

@@ -111,7 +111,7 @@ class AmqpHandler extends AbstractProcessingHandler
* @param array $record * @param array $record
* @return string * @return string
*/ */
private function getRoutingKey(array $record) protected function getRoutingKey(array $record)
{ {
$routingKey = sprintf( $routingKey = sprintf(
'%s.%s', '%s.%s',