Function trillium_logger::formatters::body_len_human
source · pub fn body_len_human(conn: &Conn, _color: bool) -> Cow<'static, str>
Expand description
formatter for the response body length, represented as a
human-readable string like 5 bytes
or 10.1mb
. prints -
if there
is no response body. see bytes
for the raw number of bytes