pub trait LogSpecSubscriber: 'static + Send {
    fn set_new_spec(
        &mut self,
        new_spec: LogSpecification
    ) -> Result<(), FlexiLoggerError>;
fn initial_spec(&self) -> Result<LogSpecification, FlexiLoggerError>; }
This is supported on crate feature trc only.
Expand description

Trait that allows to register for changes to the log specification.

Required methods

Apply a new LogSpecification.

Errors

Provide the current log spec.

Errors

Implementors