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

Method isErrorEnabled

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

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

()

Source from the content-addressed store, hash-verified

131 * @return true if error is enabled in the underlying logger.
132 */
133 boolean isErrorEnabled();
134
135 /**
136 * Logs a message with error log level.

Callers 15

printMethod · 0.65
isErrorEnabledMethod · 0.65
openConnectionMethod · 0.65
timeoutErrorMethod · 0.65
malformedScriptURLMethod · 0.65
loadScriptErrorMethod · 0.65
WebSocketMethod · 0.65
getHrefMethod · 0.65
setHrefMethod · 0.65
getStatusMethod · 0.65
getStatusTextMethod · 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