Skip to content

Commit

Permalink
Quellcode aufgeräumt, Config integriert
Browse files Browse the repository at this point in the history
  • Loading branch information
Mirko Fenrich committed Jun 18, 2017
1 parent c499613 commit f6a48b5
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
6 changes: 6 additions & 0 deletions config/logger.local.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?php
return [
'logger' => [
'writer' => 'ChromePhp',//Null, ChromePhp, FirePhp
],
];
1 change: 0 additions & 1 deletion src/Logger/ChromePhpLogger.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ public function __construct()
$this->logger = new PsrLoggerAdapter($logger);

}

public function getLogger()
{
return $this->logger;
Expand Down
1 change: 0 additions & 1 deletion src/Logger/FirePhpLogger.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ public function __construct()
$logger->addWriter(new \Zend\Log\Writer\FirePHP());
$this->logger = new PsrLoggerAdapter($logger);
}

public function getLogger()
{
return $this->logger;
Expand Down
1 change: 0 additions & 1 deletion src/Logger/NullLogger.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ public function __construct()
$logger = new Logger();
$logger->addWriter(new \Zend\Log\Writer\Noop());
$this->logger = new PsrLoggerAdapter($logger);

}
public function getLogger()
{
Expand Down

0 comments on commit f6a48b5

Please sign in to comment.