def
Network.Wai.Logger.apacheFormat
(req : Request)
(status : HTTP.Types.Status)
(bodySize : Option Nat := none)
:
Format a request in Apache Combined Log Format. $$\text{apacheFormat} : \text{Request} \to \text{Status} \to \text{Option Nat} \to \text{String}$$ The third parameter is the response body size (if known).
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Network.Wai.Logger.apacheFormatWithDate
(date : String)
(req : Request)
(status : HTTP.Types.Status)
(bodySize : Option Nat := none)
:
Format with a date string prepended. $$\text{apacheFormatWithDate} : \text{String} \to \text{Request} \to \text{Status} \to \text{String}$$
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Network.Wai.Logger.ApacheLogger.log
(logger : ApacheLogger)
(req : Request)
(status : HTTP.Types.Status)
(bodySize : Option Nat := none)
:
Log a request/response pair.