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

Method log_io

rb/lib/selenium/server.rb:226–239  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

224 end
225
226 def log_io
227 io = @log.is_a?(String) ? @log : (:out if @log)
228 if ENV.key?('SE_DEBUG')
229 if @log.is_a?(String)
230 WebDriver.logger.warn('SE_DEBUG is set; overriding user-specified server log output to use stderr',
231 id: :se_debug)
232 end
233 WebDriver.logger.io
234 elsif WebDriver.logger.debug?
235 io || WebDriver.logger.io
236 else
237 io
238 end
239 end
240
241 def poll_for_ready
242 start_time = Process.clock_gettime(Process::CLOCK_MONOTONIC)

Callers

nothing calls this directly

Calls 3

warnMethod · 0.45
loggerMethod · 0.45
ioMethod · 0.45

Tested by

no test coverage detected