diff options
author | Matthieu Napoli <matthieu@mnapoli.fr> | 2014-11-28 03:44:36 +0300 |
---|---|---|
committer | Matthieu Napoli <matthieu@mnapoli.fr> | 2014-11-28 03:44:36 +0300 |
commit | 08ec3624a15e597fef3a4414f75b3482a160cea1 (patch) | |
tree | 26356fb56eb7b2be27eb3d592f924e77562baffa /core/Log.php | |
parent | 95a7aa7427563d77381ceb0d78d5d034ff181637 (diff) |
#6622 Logger refactoring: use the container to get the log level
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; } /** |