mirror of
https://github.com/friendica/friendica
synced 2025-01-19 14:59:46 +00:00
Rename method to setup logger
This commit is contained in:
parent
9d09b10537
commit
ea35ec4d6e
1 changed files with 4 additions and 4 deletions
|
@ -140,7 +140,7 @@ class App
|
|||
|
||||
$this->setupContainerForAddons();
|
||||
|
||||
$this->setupContainerForLogger(LogChannel::APP);
|
||||
$this->setupLogChannel(LogChannel::APP);
|
||||
|
||||
$this->setupLegacyServiceLocator();
|
||||
|
||||
|
@ -182,7 +182,7 @@ class App
|
|||
{
|
||||
$this->setupContainerForAddons();
|
||||
|
||||
$this->setupContainerForLogger($this->determineLogChannel($argv));
|
||||
$this->setupLogChannel($this->determineLogChannel($argv));
|
||||
|
||||
$this->setupLegacyServiceLocator();
|
||||
|
||||
|
@ -197,7 +197,7 @@ class App
|
|||
{
|
||||
$this->setupContainerForAddons();
|
||||
|
||||
$this->setupContainerForLogger(LogChannel::AUTH_JABBERED);
|
||||
$this->setupLogChannel(LogChannel::AUTH_JABBERED);
|
||||
|
||||
$this->setupLegacyServiceLocator();
|
||||
|
||||
|
@ -245,7 +245,7 @@ class App
|
|||
return LogChannel::CONSOLE;
|
||||
}
|
||||
|
||||
private function setupContainerForLogger(string $logChannel): void
|
||||
private function setupLogChannel(string $logChannel): void
|
||||
{
|
||||
/** @var LoggerManager */
|
||||
$loggerManager = $this->container->create(LoggerManager::class);
|
||||
|
|
Loading…
Add table
Reference in a new issue