]> git.mxchange.org Git - friendica.git/commitdiff
fixed line intends
authorPhilipp Holzer <admin@philipp.info>
Sun, 17 Feb 2019 01:09:39 +0000 (02:09 +0100)
committerPhilipp Holzer <admin@philipp.info>
Sun, 17 Feb 2019 01:09:39 +0000 (02:09 +0100)
src/Core/Logger.php

index d2b9e21eef94c00a2ffd1128aae8dfe76d574c32..e42f2f033a2b8bb864db607af9aee0d1815949a8 100644 (file)
@@ -317,25 +317,25 @@ class Logger extends BaseObject
                self::getApp()->getProfiler()->saveTimestamp($stamp1, 'file', System::callstack());
        }
 
-    /**
-     * @brief Logs the given message at the given log level
-     *
-     * @param string $msg
-     * @param string $level
+           /**
+        * @brief Logs the given message at the given log level
+        *
+        * @param string $msg
+        * @param string $level
         *
         * @throws \Exception
         * @deprecated since 2019.03 Use Logger::debug() Logger::info() , ... instead
-     */
-    public static function log($msg, $level = LogLevel::INFO)
-    {
+        */
+       public static function log($msg, $level = LogLevel::INFO)
+       {
                if (!isset(self::$logger)) {
                        return;
                }
 
-        $stamp1 = microtime(true);
+               $stamp1 = microtime(true);
                self::$logger->log($level, $msg);
                self::getApp()->getProfiler()->saveTimestamp($stamp1, "file", System::callstack());
-    }
+       }
 
        /**
         * @brief An alternative logger for development.
@@ -347,14 +347,14 @@ class Logger extends BaseObject
         * @param string $level
         * @throws \Exception
         */
-    public static function devLog($msg, $level = LogLevel::DEBUG)
-    {
+       public static function devLog($msg, $level = LogLevel::DEBUG)
+       {
                if (!isset(self::$logger)) {
                        return;
                }
 
-        $stamp1 = microtime(true);
+               $stamp1 = microtime(true);
                self::$devLogger->log($level, $msg);
                self::getApp()->getProfiler()->saveTimestamp($stamp1, "file", System::callstack());
-    }
+       }
 }