diff options
author | Morris Jobke <hey@morrisjobke.de> | 2017-11-27 17:49:46 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-27 17:49:46 +0100 |
commit | 3e1860e3d612a13d56af0119053f80e025e9ea3d (patch) | |
tree | 4af20584f954761224b70d7712d9cc12273f2d50 /lib | |
parent | 4d200851f9fd54d563bfab090d26d8ebfb163955 (diff) | |
parent | 132764bff538b6011801332616bd588b5cf1e039 (diff) | |
download | nextcloud-server-3e1860e3d612a13d56af0119053f80e025e9ea3d.tar.gz nextcloud-server-3e1860e3d612a13d56af0119053f80e025e9ea3d.zip |
Merge pull request #7305 from nextcloud/log-level-for-log-extending
Pass log level to log reporters
Diffstat (limited to 'lib')
-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); } |