#[repr(C)]pub struct btck_LoggingOptions {
pub log_timestamps: c_int,
pub log_time_micros: c_int,
pub log_threadnames: c_int,
pub log_sourcelocations: c_int,
pub always_print_category_levels: c_int,
}Expand description
Options controlling the format of log messages.
Set fields as non-zero to indicate true.
Fields§
§log_timestamps: c_int!< Prepend a timestamp to log messages.
log_time_micros: c_int!< Log timestamps in microsecond precision.
log_threadnames: c_int!< Prepend the name of the thread to log messages.
log_sourcelocations: c_int!< Prepend the source location to log messages.
always_print_category_levels: c_int!< Prepend the log category and level to log messages.
Trait Implementations§
Source§impl Clone for btck_LoggingOptions
impl Clone for btck_LoggingOptions
Source§fn clone(&self) -> btck_LoggingOptions
fn clone(&self) -> btck_LoggingOptions
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 btck_LoggingOptions
impl Debug for btck_LoggingOptions
impl Copy for btck_LoggingOptions
Auto Trait Implementations§
impl Freeze for btck_LoggingOptions
impl RefUnwindSafe for btck_LoggingOptions
impl Send for btck_LoggingOptions
impl Sync for btck_LoggingOptions
impl Unpin for btck_LoggingOptions
impl UnwindSafe for btck_LoggingOptions
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