pub trait LogFuncTrait<T>:
Fn(T) -> String
+ Send
+ Sync{ }
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
AsRef<str>
- The type of data to be formatted, which will be converted to string slice.