Documentation

Hale.WaiLogger.Network.Wai.Logger

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

    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

      A callback-based logger for WAI. Takes a date provider and output function.

      Instances For

        Log a request/response pair.

        Equations
        Instances For