salvia-1.0.0: Modular web application framework.

Network.Salvia.Handler.Log

Synopsis

Documentation

hLog :: (AddressM' m, MonadIO m, HttpM' m) => Handle -> m ()Source

A simple logger that prints a summery of the request information to the specified file handle.

hDumpRequest :: (HttpM Request m, MonadIO m) => m ()Source

Dump the request headers to the standard output, useful for debugging.

hDumpResponse :: (HttpM Response m, MonadIO m) => m ()Source

Dump the response headers to the standard output, useful for debugging.