Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'core/Log.php')
-rw-r--r--core/Log.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/core/Log.php b/core/Log.php
index 4a047965c9..f9c628c1a5 100644
--- a/core/Log.php
+++ b/core/Log.php
@@ -184,10 +184,16 @@ class Log extends Singleton
self::$instance = $instance;
}
- public function __construct($logMessageFormat, $logToFilePath)
+ /**
+ * @param string $logMessageFormat
+ * @param string $logToFilePath
+ * @param int $logLevel
+ */
+ public function __construct($logMessageFormat, $logToFilePath, $logLevel)
{
$this->logMessageFormat = $logMessageFormat;
$this->logToFilePath = $logToFilePath;
+ $this->currentLogLevel = $logLevel;
}
/**