nautilus_common::ffi::logging

Function logger_log

Source
#[no_mangle]
pub unsafe extern "C" fn logger_log(
    level: LogLevel,
    color: LogColor,
    component_ptr: *const c_char,
    message_ptr: *const c_char,
)
Expand description

Creates a new log event.

ยงSafety

  • Assumes component_ptr is a valid C string pointer.
  • Assumes message_ptr is a valid C string pointer.