pub trait LogFuncTrait<T>:
Fn(T) -> String
+ Send
+ Syncwhere
T: ToString,{ }
Expand description
Trait for log formatting functions.
Defines the interface for functions that format log data. Implemented automatically for any compatible Fn(T) -> String.
§Generic Parameters
T: ToString
- The type of data to be formatted, must be convertible to String.