diff options
author | Morris Jobke <hey@morrisjobke.de> | 2017-11-27 15:35:29 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2017-11-27 16:46:47 +0100 |
commit | 132764bff538b6011801332616bd588b5cf1e039 (patch) | |
tree | 1bbb181736aa0e8efff55c7c5fbfbbc51d0a7538 /lib/private/Log.php | |
parent | cfae590ac93f8b5c9c633aafbf205f54a7400201 (diff) | |
download | nextcloud-server-132764bff538b6011801332616bd588b5cf1e039.tar.gz nextcloud-server-132764bff538b6011801332616bd588b5cf1e039.zip |
Pass log level to log reporters
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'lib/private/Log.php')
-rw-r--r-- | lib/private/Log.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/Log.php b/lib/private/Log.php index a41c728df0d..bed0321bef3 100644 --- a/lib/private/Log.php +++ b/lib/private/Log.php @@ -351,6 +351,7 @@ class Log implements ILogger { $msg = isset($context['message']) ? $context['message'] : 'Exception'; $msg .= ': ' . json_encode($data); $this->log($level, $msg, $context); + $context['level'] = $level; if (!is_null($this->crashReporters)) { $this->crashReporters->delegateReport($exception, $context); } |