Skip to content
Snippets Groups Projects
Commit d2e8877f authored by Prasad's avatar Prasad
Browse files

Fixes #1886: Using getLevel instead of getLogLevel of Monolog Handler

parent 49cdd9dc
No related branches found
No related tags found
No related merge requests found
......@@ -90,7 +90,7 @@ class MonologLoggerEx extends MonologLogger {
function isDebugEnabled() {
$debugLevel = false;
foreach ($this->getHandlers() as $handler) {
if ($handler->getLogLevel() == static::DEBUG) {
if ($handler->getLevel() == static::DEBUG) {
$debugLevel = true;
break;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment