diff options
author | Matthieu Napoli <matthieu@mnapoli.fr> | 2014-12-01 06:02:57 +0300 |
---|---|---|
committer | Matthieu Napoli <matthieu@mnapoli.fr> | 2014-12-01 06:02:57 +0300 |
commit | e7474e669e221a3fd2b0f0f941364a872053d678 (patch) | |
tree | 961959da295da8a5b01aa2ea9b33920e719afd03 /core/Log/Formatter/HtmlPreFormatter.php | |
parent | 0794be0d5551998b683ac934e00604d277fe69e9 (diff) |
#6622 Logger refactoring: implement Monolog's FormatterInterface
Diffstat (limited to 'core/Log/Formatter/HtmlPreFormatter.php')
-rw-r--r-- | core/Log/Formatter/HtmlPreFormatter.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/Log/Formatter/HtmlPreFormatter.php b/core/Log/Formatter/HtmlPreFormatter.php index ecc52fc149..878304e8fa 100644 --- a/core/Log/Formatter/HtmlPreFormatter.php +++ b/core/Log/Formatter/HtmlPreFormatter.php @@ -16,9 +16,9 @@ use Piwik\Log; */ class HtmlPreFormatter extends Formatter { - public function format(array $record, Log $logger) + public function format(array $record) { - $record = $this->next($record, $logger); + $record = $this->next($record); if (! is_string($record['message'])) { return $record; |