diff options
Diffstat (limited to 'core/Log/Formatter/ExceptionTextFormatter.php')
-rw-r--r-- | core/Log/Formatter/ExceptionTextFormatter.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/Log/Formatter/ExceptionTextFormatter.php b/core/Log/Formatter/ExceptionTextFormatter.php index 1e0bd0ed12..62b850f443 100644 --- a/core/Log/Formatter/ExceptionTextFormatter.php +++ b/core/Log/Formatter/ExceptionTextFormatter.php @@ -16,7 +16,7 @@ use Piwik\Log; */ class ExceptionTextFormatter extends Formatter { - public function format(array $record, Log $logger) + public function format(array $record) { $message = $record['message']; @@ -25,6 +25,6 @@ class ExceptionTextFormatter extends Formatter ExceptionHandler::$debugBacktraceForTests ?: $message->getTraceAsString()); } - return $this->next($record, $logger); + return $this->next($record); } } |