Struct jj_cli::cli_util::TracingSubscription
source · pub struct TracingSubscription { /* private fields */ }Expand description
Handle to initialize or change tracing subscription.
Implementations§
source§impl TracingSubscription
impl TracingSubscription
sourcepub fn init() -> Self
pub fn init() -> Self
Initializes tracing with the default configuration. This should be called as early as possible.
pub fn enable_verbose_logging(&self) -> Result<(), CommandError>
Trait Implementations§
source§impl Clone for TracingSubscription
impl Clone for TracingSubscription
source§fn clone(&self) -> TracingSubscription
fn clone(&self) -> TracingSubscription
Returns a copy 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 !RefUnwindSafe for TracingSubscription
impl !Send for TracingSubscription
impl !Sync for TracingSubscription
impl Unpin for TracingSubscription
impl !UnwindSafe for TracingSubscription
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