Enum logger::format::FormatAttr
[−]
[src]
pub enum FormatAttr {
ConstantAttrs(Vec<Attr>),
FunctionAttrs(fn(&Request, &Response) -> Vec<Attr>),
}A representation of attributes in a FormatUnit.
Variants
ConstantAttrs | A constant attribute |
FunctionAttrs | A variable attribute, dependent on the request/response This can be used to change the attribute depending on response status, &c. |