From 05dda25b4c0819b6cee7fcf51e4ee053a8956137 Mon Sep 17 00:00:00 2001 From: Max Kotliar Date: Thu, 11 Jan 2018 14:35:46 +0200 Subject: [PATCH] [consumption] Correct message in LoggerExtension --- pkg/enqueue/Consumption/Extension/LoggerExtension.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/enqueue/Consumption/Extension/LoggerExtension.php b/pkg/enqueue/Consumption/Extension/LoggerExtension.php index 36cf01b8a..0779c9033 100644 --- a/pkg/enqueue/Consumption/Extension/LoggerExtension.php +++ b/pkg/enqueue/Consumption/Extension/LoggerExtension.php @@ -34,8 +34,8 @@ public function onStart(Context $context) if ($context->getLogger()) { $context->getLogger()->debug(sprintf( 'Skip setting context\'s logger "%s". Another one "%s" has already been set.', - get_class($context->getLogger()), - get_class($this->logger) + get_class($this->logger), + get_class($context->getLogger()) )); } else { $context->setLogger($this->logger);