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

Function error

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

Source from the content-addressed store, hash-verified

54
55#[allow(dead_code)]
56pub fn error(message: &str) {
57 if is_console_error_enabled() {
58 println!("ERROR: {}", message);
59 }
60 error!("{}", message);
61}
62
63pub fn is_console_debug_enabled() -> bool {
64 return CONSOLE_ENABLED.to_owned() > 3;

Callers 3

delete_java_refFunction · 0.85
delete_java_local_refFunction · 0.85
get_created_vmMethod · 0.85

Calls 1

is_console_error_enabledFunction · 0.85

Tested by

no test coverage detected