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

Method requestedLevel

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

Returns the level asked for by the debug switches, or null when none is enabled.

()

Source from the content-addressed store, hash-verified

148
149 /** Returns the level asked for by the debug switches, or {@code null} when none is enabled. */
150 private static @Nullable Level requestedLevel() {
151 // SE_DEBUG is checked first because it is the broader switch.
152 if (isDebugAll()) {
153 return SE_DEBUG_LEVEL;
154 }
155 if (isDebugging()) {
156 return DEBUG_PROPERTY_LEVEL;
157 }
158 return null;
159 }
160
161 private static void enable(Level minimum) {
162 Level level = effectiveLevel(SELENIUM_LOGGER);

Callers 1

configureLoggerMethod · 0.95

Calls 2

isDebugAllMethod · 0.95
isDebuggingMethod · 0.95

Tested by

no test coverage detected