Permalink
Browse files

change logger option in context-parameter

  • Loading branch information...
1 parent a47f988 commit 4faf814cc907a28f0bf68c6e636e7e27c8a5b5e6 Florian Semm committed Sep 20, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 Logger.php
View
@@ -46,8 +46,8 @@ public function configureLogger(array $config) {
private function getLogger(array $context = array()) {
$logger = $this->logger;
- if (array_key_exists('app', $context)) {
- $logger = Log4phpLogger::getLogger($context['app']);
+ if (array_key_exists('logger', $context)) {
+ $logger = Log4phpLogger::getLogger($context['logger']);
}
return $logger;

0 comments on commit 4faf814

Please sign in to comment.