#[repr(C)]pub struct MSLogParam {
pub log_print: Option<unsafe extern "C" fn(arg1: *const c_char)>,
pub logprefix: *const c_char,
pub diag_print: Option<unsafe extern "C" fn(arg1: *const c_char)>,
pub errprefix: *const c_char,
pub registry: MSLogRegistry,
}Expand description
@brief Logging parameters. Callers should not modify these values directly and generally should not need to access them.
\sa ms_loginit()
Fields§
§log_print: Option<unsafe extern "C" fn(arg1: *const c_char)>!< Function to call for regular messages
logprefix: *const c_char!< Message prefix for regular and diagnostic messages
diag_print: Option<unsafe extern "C" fn(arg1: *const c_char)>!< Function to call for diagnostic and error messages
errprefix: *const c_char!< Message prefix for error messages
registry: MSLogRegistry!< Message registry
Trait Implementations§
Source§impl Clone for MSLogParam
impl Clone for MSLogParam
Source§fn clone(&self) -> MSLogParam
fn clone(&self) -> MSLogParam
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MSLogParam
impl Debug for MSLogParam
impl Copy for MSLogParam
Auto Trait Implementations§
impl Freeze for MSLogParam
impl RefUnwindSafe for MSLogParam
impl !Send for MSLogParam
impl !Sync for MSLogParam
impl Unpin for MSLogParam
impl UnwindSafe for MSLogParam
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more