MCPcopy Create free account
hub / github.com/astonbitecode/j4rs / warn

Function warn

rust/src/logger.rs:48–53  ·  view source on GitHub ↗
(message: &str)

Source from the content-addressed store, hash-verified

46
47#[allow(dead_code)]
48pub fn warn(message: &str) {
49 if is_console_warn_enabled() {
50 println!("WARN: {}", message);
51 }
52 warn!("{}", message);
53}
54
55#[allow(dead_code)]
56pub fn error(message: &str) {

Callers 1

detach_current_threadMethod · 0.85

Calls 1

is_console_warn_enabledFunction · 0.85

Tested by

no test coverage detected