]> git.mxchange.org Git - friendica.git/commitdiff
remove unused Logger::devLog() method
authorArt4 <art4@wlabs.de>
Thu, 9 Jan 2025 09:08:14 +0000 (09:08 +0000)
committerArt4 <art4@wlabs.de>
Thu, 9 Jan 2025 09:08:14 +0000 (09:08 +0000)
src/Core/Logger.php

index 48fd1293b38dffda7d38d6d180db77d465cb5a86..f89044aa6dc249dd20dd46a78d5afa1ac7265837 100644 (file)
@@ -191,21 +191,4 @@ class Logger
        {
                self::getInstance()->debug($message, $context);
        }
-
-       /**
-        * An alternative logger for development.
-        *
-        * Works largely as log() but allows developers
-        * to isolate particular elements they are targeting
-        * personally without background noise
-        *
-        * @param string $message Message to log
-        * @param string $level Logging level
-        * @return void
-        * @throws \Exception
-        */
-       public static function devLog(string $message, string $level = LogLevel::DEBUG)
-       {
-               DI::devLogger()->log($level, $message);
-       }
 }