Skip to content

Commit

Permalink
Merge pull request #322 from php-enqueue/consumption-fix-msg-in-logge…
Browse files Browse the repository at this point in the history
…r-extension

[consumption] Correct message in LoggerExtension
  • Loading branch information
makasim authored Jan 11, 2018
2 parents c2a446c + 05dda25 commit 6130ac9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/enqueue/Consumption/Extension/LoggerExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 6130ac9

Please sign in to comment.