pub trait LoggerImpl:
Send
+ Sync
+ Any {
// Required methods
fn status(&self) -> LoggerStatus;
fn log(&self, message: Message);
fn as_any(&self) -> &dyn Any;
}Expand description
Required Methods§
Sourcefn status(&self) -> LoggerStatus
fn status(&self) -> LoggerStatus
Returns the current LoggerStatus of the logging backend.
This provides a quick check to see if the logging service is Running
or has become Broken (e.g., due to a disk failure or network disconnection).
The specific behavior is determined by the implementation.