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