Type Alias Logger

Source
pub type Logger = _Logger;

Aliased Type§

struct Logger {
    pub log: Option<unsafe extern "C-unwind" fn(_: *mut _Logger, _: u32, _: *const i8, _: *const i8, _: i32, _: *const i8, _: *mut __va_list_tag)>,
    pub flush: Option<unsafe extern "C-unwind" fn(_: *mut _Logger)>,
    pub destroy: Option<unsafe extern "C-unwind" fn(_: *mut _Logger)>,
    pub setLevel: Option<unsafe extern "C-unwind" fn(_: *mut _Logger, _: u32)>,
    pub isEnabled: Option<unsafe extern "C-unwind" fn(_: *mut _Logger, _: u32) -> bool>,
}

Fields§

§log: Option<unsafe extern "C-unwind" fn(_: *mut _Logger, _: u32, _: *const i8, _: *const i8, _: i32, _: *const i8, _: *mut __va_list_tag)>§flush: Option<unsafe extern "C-unwind" fn(_: *mut _Logger)>§destroy: Option<unsafe extern "C-unwind" fn(_: *mut _Logger)>§setLevel: Option<unsafe extern "C-unwind" fn(_: *mut _Logger, _: u32)>§isEnabled: Option<unsafe extern "C-unwind" fn(_: *mut _Logger, _: u32) -> bool>

Trait Implementations

Source§

impl Clone for _Logger

Source§

fn clone(&self) -> _Logger

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for _Logger

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Copy for _Logger