]> git.mxchange.org Git - friendica.git/commitdiff
Rename method to setup logger
authorArt4 <art4@wlabs.de>
Sun, 12 Jan 2025 13:19:47 +0000 (13:19 +0000)
committerArt4 <art4@wlabs.de>
Sun, 12 Jan 2025 13:19:47 +0000 (13:19 +0000)
src/App.php

index 6573db427ce36993be232d77565ce179cb50d361..3ffce9114cd024702c777bb9908b1b75e45e6fdb 100644 (file)
@@ -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);