diff options
Diffstat (limited to 'core/Log.php')
-rw-r--r-- | core/Log.php | 8 |
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; } /** |