Merge pull request #368 from GaloisInc/master

Network.Wai.Middleware.RequestLogger: clarify purpose/usage of exported record fields
This commit is contained in:
Michael Snoyman 2015-04-22 07:36:18 +03:00
commit 83c2f4dc49

View File

@ -59,7 +59,9 @@ type Callback = LogStr -> IO ()
-- | @RequestLoggerSettings@ is an instance of Default. See <https://hackage.haskell.org/package/data-default Data.Default> for more information.
--
-- @outputFormat@, @autoFlush@, and @destination@ are relevant fields for @RequestLoggerSettings@.
-- @outputFormat@, @autoFlush@, and @destination@ are record fields
-- for the record type @RequestLoggerSettings@, so they can be used to
-- modify settings values using record syntax.
data RequestLoggerSettings = RequestLoggerSettings
{
-- | Default value: @Detailed@ @True@.