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

Method debug_or_warn

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

Source from the content-addressed store, hash-verified

179 }
180
181 pub fn debug_or_warn<T: Display>(&self, message: T, is_debug: bool) {
182 let level = if is_debug { Level::Debug } else { Level::Warn };
183 self.logger(message.to_string(), level);
184 }
185
186 pub fn trace<T: Display>(&self, message: T) {
187 self.logger(message.to_string(), Level::Trace);

Callers 3

mainFunction · 0.80

Calls 1

loggerMethod · 0.45

Tested by

no test coverage detected