on master help sign in
Doc fix
commita0999aedf420b385fbaa2f9d4d4ab41376275839 authorMichael Snoyman <michael@snoyman.com> dateTue 3 Apr 2012, 18:40 (15 years ago) parentd289642
2 files changed+12−12
wai-extra/Network/Wai/Middleware/RequestLogger.hs+11−11 wai-extra/wai-extra.cabal+1−1
wai-extra/Network/Wai/Middleware/RequestLogger.hs+11−11
@@ -101,20 +101,20 @@ rotateColors (c:cs) = (cs ++ [c], c)
101101-- However, if you are simulating 10 simultaneous users you may find this confusing.
102102-- The request and response are connected by color on Unix and also by the request path.
103103--
104−-- This is lower-level - use "logStdoutDev" unless you need greater control.
104+-- This is lower-level - use 'logStdoutDev' unless you need greater control.
105105--
106106-- Example ouput:
107107--
108−-- GET search
109−-- Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
110−--
111−-- Status: 200 OK. search
112−--
113−-- GET static/css/normalize.css
114−-- Accept: text/css,*/*;q=0.1
115−-- GET [("LXwioiBG","")]
116−--
117−-- Status: 304 Not Modified. static/css/normalize.css
108+-- > GET search
109+-- > Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
110+-- >
111+-- > Status: 200 OK. search
112+-- >
113+-- > GET static/css/normalize.css
114+-- > Accept: text/css,*/*;q=0.1
115+-- > GET [("LXwioiBG","")]
116+-- >
117+-- > Status: 304 Not Modified. static/css/normalize.css
118118logCallbackDev :: (BS.ByteString -> IO ()) -- ^ A function that logs the ByteString log message.
119119 -> Middleware
120120logCallbackDev cb app req = do
wai-extra/wai-extra.cabal+1−1
@@ -1,5 +1,5 @@
11Name: wai-extra
2−Version: 1.2.0.1
2+Version: 1.2.0.2
33Synopsis: Provides some basic WAI handlers and middleware.
44Description: The goal here is to provide common features without many dependencies.
55License: MIT