Bug fixes and clean ups

This commit is contained in:
Clemens Schwaighofer
2023-06-01 08:47:40 +09:00
parent 72f0810898
commit 2c2826ac24
5 changed files with 39 additions and 86 deletions

View File

@@ -675,9 +675,11 @@ class Logging
*
* @return bool True, we are at debug level
*/
public function getJsDebug(): bool
public function loggingLevelIsDebug(): bool
{
return $this->log_level === Level::Debug ? true : false;
return $this->getLoggingLevel()->includes(
Level::Debug
);
}
// log file id set (file name prefix)