var searchIndex = {}; searchIndex["logger"] = {"doc":"Request logging middleware for Iron","items":[[3,"Logger","logger","`Middleware` for logging request and response info to the terminal.",null,null],[0,"format","","Formatting helpers for the logger middleware.",null,null],[3,"Format","logger::format","A formatting style for the `Logger`, consisting of multiple\n`FormatUnit`s concatenated into one line.",null,null],[12,"0","","",0,null],[4,"FormatColor","","A representation of color in a `FormatUnit`.",null,null],[13,"ConstantColor","","A constant color",1,null],[13,"FunctionColor","","A variable color, dependent on the request/response",1,null],[4,"FormatAttr","","A representation of attributes in a `FormatUnit`.",null,null],[13,"ConstantAttrs","","A constant attribute",2,null],[13,"FunctionAttrs","","A variable attribute, dependent on the request/response",2,null],[11,"clone","","",0,null],[11,"default","","Return the default formatting style for the `Logger`:",0,{"inputs":[],"output":{"name":"format"}}],[11,"new","","Create a `Format` from a format string, which can contain the fields\n`{method}`, `{uri}`, `{status}`, `{response-time}`, and `{ip-addr}`.",0,{"inputs":[{"name":"str"},{"name":"vec"},{"name":"vec"}],"output":{"name":"option"}}],[11,"clone","","",1,null],[11,"clone","","",2,null],[11,"new","logger","Create a pair of `Logger` middlewares with the specified `format`. If a `None` is passed in, uses the default format:",3,null],[11,"before","","",3,null],[11,"catch","","",3,null],[11,"after","","",3,null],[11,"catch","","",3,null]],"paths":[[3,"Format"],[4,"FormatColor"],[4,"FormatAttr"],[3,"Logger"]]}; initSearch(searchIndex);