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

Method isDebugAll

java/src/org/openqa/selenium/internal/Debug.java:81–90  ·  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

79 * @return {@code true} if {@code SE_DEBUG} is enabled
80 */
81 public static boolean isDebugAll() {
82 boolean everything = Boolean.parseBoolean(System.getenv("SE_DEBUG"));
83 if (everything && DEBUG_WARNING_LOGGED.compareAndSet(false, true)) {
84 String warn =
85 "WARNING: Environment Variable `SE_DEBUG` is set; Selenium is forcing verbose logging"
86 + " which may override user-specified settings.";
87 System.err.println(warn);
88 }
89 return everything;
90 }
91
92 /**
93 * Shows Selenium's diagnostic log records on the console if debugging is enabled.

Callers 10

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

Calls 1

parseBooleanMethod · 0.80