MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / isDebugAll

Method isDebugAll

java/src/org/openqa/selenium/internal/Debug.java:94–103  ·  view source on GitHub ↗

Returns whether the SE_DEBUG environment variable is set to true. The first time this returns true, a warning is printed to System.err. @return true if SE_DEBUG is enabled

()

Source from the content-addressed store, hash-verified

92 * @return {@code true} if {@code SE_DEBUG} is enabled
93 */
94 public static boolean isDebugAll() {
95 boolean everything = Boolean.parseBoolean(System.getenv("SE_DEBUG"));
96 if (everything && DEBUG_WARNING_LOGGED.compareAndSet(false, true)) {
97 String warn =
98 "WARNING: Environment Variable `SE_DEBUG` is set; Selenium is forcing verbose logging"
99 + " which may override user-specified settings.";
100 System.err.println(warn);
101 }
102 return everything;
103 }
104
105 /**
106 * Shows Selenium's diagnostic log records on the console if debugging is enabled.

Callers 8

parseLogOutputMethod · 0.95
loadSystemPropertiesMethod · 0.95
loadSystemPropertiesMethod · 0.95
setLoggingLevelMethod · 0.95
getOutputStreamMethod · 0.95
requestedLevelMethod · 0.95
loadSystemPropertiesMethod · 0.95

Calls 1

parseBooleanMethod · 0.80