diff --git a/www/admin/class_test.admin.backend.php b/www/admin/class_test.admin.backend.php
index de776a25..b2f0d585 100644
--- a/www/admin/class_test.admin.backend.php
+++ b/www/admin/class_test.admin.backend.php
@@ -55,7 +55,24 @@ print '
' . $PAGE_NAME . '
';
print "SETACL[]:
";
$backend->setACL(['EMPTY' => 'EMPTY']);
print "ADBEDITLOG:
";
-$backend->adbEditLog('CLASSTEST-ADMIN', 'Some info string');
+$backend->adbEditLog('CLASSTEST-ADMIN-BINARY', 'Some info string', 'BINARY');
+$backend->adbEditLog('CLASSTEST-ADMIN-SERIAL', 'Some info string', 'SERIAL');
+$backend->adbEditLog('CLASSTEST-ADMIN-JSON', 'Some info string', 'JSON');
+// test with various
+$backend->action = 'TEST ACTION';
+$backend->action_id = 'TEST ACTION ID';
+$backend->action_yes = 'TEST ACTION YES';
+$backend->action_flag = 'TEST ACTION FLAG';
+$backend->action_menu = 'TEST ACTION MENU';
+$backend->action_loaded = 'TEST ACTION LOADED';
+$backend->action_value = 'TEST ACTION VALUE';
+$backend->action_type = 'TEST ACTION TYPE';
+$backend->action_error = 'TEST ACTION ERROR';
+$backend->adbEditLog('CLASSTEST-ADMIN-JSON', [
+ "_GET" => $_GET,
+ "_POST" => $_POST,
+], 'JSON');
+
print "ADBTOPMENU(0): " . Support::printAr($backend->adbTopMenu(CONTENT_PATH)) . "
";
print "ADBMSG:
";
$backend->adbMsg('info', 'Message: %1$d', [1]);
diff --git a/www/admin/class_test.error_msg.php b/www/admin/class_test.error_msg.php
index f3398c6e..c83a3cc5 100644
--- a/www/admin/class_test.error_msg.php
+++ b/www/admin/class_test.error_msg.php
@@ -45,6 +45,8 @@ $em->setErrorMsg('123', 'error', 'msg this is bad, auto logged if debug');
$em->setErrorMsg('123', 'error', 'msg this is bad, auto logged if debug', 'target-id', 'other-style');
$em->setErrorMsg('123', 'error', 'msg this is bad, logged always', log_error:true);
$em->setErrorMsg('123', 'error', 'msg this is bad, never logged', log_error:false);
+$em->setErrorMsg('500', 'warning', 'This is perhaps not super good, logged_always', log_warning:true);
+$em->setErrorMsg('500', 'warning', 'This is perhaps not super good, logged_never', log_warning:false);
$em->setErrorMsg('1000', 'info', 'This is good');
$em->setErrorMsg('9999', 'abort', 'BAD: This is critical (abort)');
$em->setErrorMsg('10-1000', 'wrong', 'Wrong level: This is emergency');
@@ -59,6 +61,8 @@ print "ErrorsIds: " . $log->prAr($em->getErrorIds()) . "
";
print "Errors: " . $log->prAr($em->getErrorMsg()) . "
";
print "JumpTargets: " . $log->prAr($em->getJumpTarget()) . "
";
+print "IS info > ok: " . ml::fromName('info')->isHigherThan(ml::ok) . "
";
+
print "