MCPcopy Index your code
hub / github.com/HtmlUnit/htmlunit / isWarnEnabled

Method isWarnEnabled

src/main/java/org/htmlunit/WebConsole.java:115–115  ·  view source on GitHub ↗

Is warn logging currently enabled? Call this method to prevent having to perform expensive operations (for example, String concatenation) when the log level is more than warn. @return true if warn is enabled in the underlying logger.

()

Source from the content-addressed store, hash-verified

113 * @return true if warn is enabled in the underlying logger.
114 */
115 boolean isWarnEnabled();
116
117 /**
118 * Logs a message with warn log level.

Callers 15

errorMethod · 0.65
fatalErrorMethod · 0.65
warningMethod · 0.65
printMethod · 0.65
isWarnEnabledMethod · 0.65
loadWebResponseIntoMethod · 0.65
additionalCtorMethod · 0.65
defineConstructorMethod · 0.65
warnMethod · 0.65
alertMethod · 0.65
confirmMethod · 0.65

Implementers 3

LoggerMocksrc/test/java/org/htmlunit/javascript/
DefaultLoggersrc/main/java/org/htmlunit/WebConsole.
WindowTestsrc/test/java/org/htmlunit/javascript/

Calls

no outgoing calls

Tested by

no test coverage detected