From ea35ec4d6e9967f64a57d08483147be4d4e4e96b Mon Sep 17 00:00:00 2001 From: Art4 Date: Sun, 12 Jan 2025 13:19:47 +0000 Subject: [PATCH] Rename method to setup logger --- src/App.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/App.php b/src/App.php index 6573db427c..3ffce9114c 100644 --- a/src/App.php +++ b/src/App.php @@ -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);