diff options
Diffstat (limited to 'core/Log/Formatter/ErrorTextFormatter.php')
-rw-r--r-- | core/Log/Formatter/ErrorTextFormatter.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/Log/Formatter/ErrorTextFormatter.php b/core/Log/Formatter/ErrorTextFormatter.php index e2651ad638..a4df5990e8 100644 --- a/core/Log/Formatter/ErrorTextFormatter.php +++ b/core/Log/Formatter/ErrorTextFormatter.php @@ -16,7 +16,7 @@ use Piwik\Log; */ class ErrorTextFormatter extends Formatter { - public function format(array $record, Log $logger) + public function format(array $record) { $message = $record['message']; @@ -25,6 +25,6 @@ class ErrorTextFormatter extends Formatter . ' - ' . $message->errstr . "\n" . $message->backtrace; } - return $this->next($record, $logger); + return $this->next($record); } } |