pub enum OpenHclLogConfig {
TestDefault,
BuiltInDefault,
Custom(String),
}Expand description
Control the logging configuration of OpenHCL for this VM.
Variants§
TestDefault
Use the default log levels used by petri tests. This will forward
OPENVMM_LOG and OPENVMM_SHOW_SPANS from the environment if they are
set, otherwise it will use debug and true respectively
BuiltInDefault
Use the built-in default log levels of OpenHCL (e.g. don’t pass OPENVMM_LOG or OPENVMM_SHOW_SPANS)
Custom(String)
Use the provided custom log levels (e.g.
OPENVMM_LOG=info,disk_nvme=debug OPENVMM_SHOW_SPANS=true)
Trait Implementations§
Source§impl Clone for OpenHclLogConfig
impl Clone for OpenHclLogConfig
Source§fn clone(&self) -> OpenHclLogConfig
fn clone(&self) -> OpenHclLogConfig
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 moreAuto Trait Implementations§
impl Freeze for OpenHclLogConfig
impl RefUnwindSafe for OpenHclLogConfig
impl Send for OpenHclLogConfig
impl Sync for OpenHclLogConfig
impl Unpin for OpenHclLogConfig
impl UnwindSafe for OpenHclLogConfig
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