Function trillium_logger::formatters::status

source ยท
pub fn status(conn: &Conn, color: bool) -> StatusOutput
Expand description

formatter for the http status

displays just the numeric code of the status. when color is enabled, it uses the following color encoding:

codecolor
2xxgreen
3xxcyan
4xxyellow
5xxred
???white