#[repr(C)]pub struct asdf_log_cfg_t {
pub stream: *mut c_void,
pub level: LogLevel,
pub fields: AsdfLogFields,
pub no_color: bool,
}Expand description
Per-file logging configuration, mirroring asdf_log_cfg_t.
Any zero field is filled in with a default: the stream is stderr, the
level comes from ASDF_LOG_LEVEL or WARN, and the fields are all of them.
Fields§
§stream: *mut c_voidDestination stream; NULL means stderr.
level: LogLevelMinimum severity to emit.
fields: AsdfLogFieldsWhich fields the standard formatter includes.
no_color: boolSuppress colour even where the build supports it.
Trait Implementations§
Auto Trait Implementations§
impl !Send for asdf_log_cfg_t
impl !Sync for asdf_log_cfg_t
impl Freeze for asdf_log_cfg_t
impl RefUnwindSafe for asdf_log_cfg_t
impl Unpin for asdf_log_cfg_t
impl UnsafeUnpin for asdf_log_cfg_t
impl UnwindSafe for asdf_log_cfg_t
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