diff options
author | mattab <matthieu.aubry@gmail.com> | 2014-07-01 10:49:19 +0400 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2014-07-01 10:49:19 +0400 |
commit | 3e2260913657b051cb73f9fdf1d4378ccc6c0b88 (patch) | |
tree | 7a61bc2871e84a07203802d410a914002903a069 /core/Log.php | |
parent | 771220c82eaf372166886d372830a3a5c5495dd4 (diff) |
Add support for --force-date-range parameter + also enable Verbose logging via -v
refs https://github.com/piwik/piwik/pull/319
refs #5396
Diffstat (limited to 'core/Log.php')
-rw-r--r-- | core/Log.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/Log.php b/core/Log.php index c568bdb0a2..2c67207b71 100644 --- a/core/Log.php +++ b/core/Log.php @@ -373,6 +373,11 @@ class Log extends Singleton $this->currentLogLevel = $logLevel; } + public function getLogLevel() + { + return $this->currentLogLevel; + } + private function logToFile($level, $tag, $datetime, $message) { $message = $this->getMessageFormattedFile($level, $tag, $datetime, $message); |