Bug fixes and minor updates

- Removed echo from Support Debug dumpVar call
- deprecated DB\IO toggle dbDebug and changed set/get to be like normal
  ones where set just sets and doesn't return anything
- Renamed the logJsDebug to loggingLevelIsDebug
  (other levels can be checked with ->getLoggingLevel()->includes(Level::...))

Adjusted tests for all changes
This commit is contained in:
Clemens Schwaighofer
2023-06-01 08:40:55 +09:00
parent 4c6fe1cd6c
commit 0b93f9f146
7 changed files with 54 additions and 88 deletions

View File

@@ -121,6 +121,6 @@ if (!$login->loginActionRun()) {
//------------------------------ logging end
// pass on DEBUG flag to JS via smarty variable
$smarty->DATA['JS_DEBUG'] = $log->getJsDebug();
$smarty->DATA['JS_DEBUG'] = $log->loggingLevelIsDebug();
// __END__