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

Method debug_or_warn

rust/src/logger.rs:173–176  ·  view source on GitHub ↗
(&self, message: T, is_debug: bool)

Source from the content-addressed store, hash-verified

171 }
172
173 pub fn debug_or_warn<T: Display>(&self, message: T, is_debug: bool) {
174 let level = if is_debug { Level::Debug } else { Level::Warn };
175 self.logger(message.to_string(), level);
176 }
177
178 pub fn trace<T: Display>(&self, message: T) {
179 self.logger(message.to_string(), Level::Trace);

Callers 3

mainFunction · 0.80

Calls 1

loggerMethod · 0.45

Tested by

no test coverage detected