From 2da4b1417fdcfe0cc4831e048a6bc612f28ee5f3 Mon Sep 17 00:00:00 2001 From: Jonathan Daugherty Date: Tue, 21 Apr 2015 16:27:19 -0700 Subject: [PATCH] Network.Wai.Middleware.RequestLogger: clarify purpose/usage of exported record fields --- wai-extra/Network/Wai/Middleware/RequestLogger.hs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/wai-extra/Network/Wai/Middleware/RequestLogger.hs b/wai-extra/Network/Wai/Middleware/RequestLogger.hs index 644044c4..c24b96da 100644 --- a/wai-extra/Network/Wai/Middleware/RequestLogger.hs +++ b/wai-extra/Network/Wai/Middleware/RequestLogger.hs @@ -59,7 +59,9 @@ type Callback = LogStr -> IO () -- | @RequestLoggerSettings@ is an instance of Default. See 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@.