pub trait Loggable {
fn log<L: StatsLogger + ?Sized>(
&self,
name: &'static str,
logger: &mut L
) -> Result<(), LogError>;
}
Expand description
A type that can be logged to a StatsLogger
.
While LogValue
are the core log value types, a Loggable
decomposes itself into zero or
more LogValues
in the process of logging.