use super::{LogConfig, LogLevelFilter, Logger};
#[cfg(feature = "alloc")]
use crate::Box;
#[doc = crate::_tags!(log)]
#[doc = crate::_doc_location!("sys/log")]
#[cfg_attr(nightly_doc, doc(cfg(feature = "dep_log")))]
pub trait LoggerExt: Logger {
#[must_use]
#[cfg(feature = "alloc")]
#[cfg_attr(nightly_doc, doc(cfg(feature = "alloc")))]
fn as_logger(self: Box<Self>) -> Box<dyn Logger>;
#[must_use]
fn config(&self) -> Option<&LogConfig>;
#[must_use]
fn level_filter(&self) -> LogLevelFilter;
}