Skip to main content
Skip table of contents

isWarnEnabled

Versionshinweise

16.1, 17.1

Code

CODE
boolean ScriptUtils.isWarnEnabled()


Beschreibung

Prüft den Aktiv-Status für Warning-Logs.

Eine Prüfung des Status ist hilfreich, um Ressourcen zum Aufbau der Meldung zu schonen, falls das Warning-Log deaktiviert wurde.


Rückgabe

  • true für ein aktives Warn-Log, sonst false

Beispiele

CODE
if(ScriptUtils.isWarnEnabled())
{
  ScriptUtils.debug("Warning Meldung");
}




JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.