Refactor dynamic App::getLogger() to static DI::logger()
This commit is contained in:
10
src/App.php
10
src/App.php
@@ -155,16 +155,6 @@ class App
|
||||
return $this->config->getCache()->get('system', 'basepath');
|
||||
}
|
||||
|
||||
/**
|
||||
* The Logger of this app
|
||||
*
|
||||
* @return LoggerInterface
|
||||
*/
|
||||
public function getLogger()
|
||||
{
|
||||
return $this->logger;
|
||||
}
|
||||
|
||||
/**
|
||||
* The profiler of this app
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user