Struct machinery_api::foundation::LoggerApi [−][src]
#[repr(C)]pub struct LoggerApi { pub add_logger: Option<unsafe extern "C" fn(logger: *const LoggerI)>, pub remove_logger: Option<unsafe extern "C" fn(logger: *const LoggerI)>, pub print: Option<unsafe extern "C" fn(log_type: LogType, msg: *const c_char)>, pub printf: Option<unsafe extern "C" fn(log_type: LogType, format: *const c_char, ...) -> c_int>, pub default_logger: *mut LoggerI, }
Fields
add_logger: Option<unsafe extern "C" fn(logger: *const LoggerI)>remove_logger: Option<unsafe extern "C" fn(logger: *const LoggerI)>print: Option<unsafe extern "C" fn(log_type: LogType, msg: *const c_char)>printf: Option<unsafe extern "C" fn(log_type: LogType, format: *const c_char, ...) -> c_int>default_logger: *mut LoggerIImplementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for LoggerApi
impl UnwindSafe for LoggerApi
Blanket Implementations
Mutably borrows from an owned value. Read more