Portability | non-portable (not tested) |
---|---|
Stability | experimental |
Maintainer | bjorn@bringert.net |
Network.StreamDebugger
Description
Implements debugging of Stream
s. Originally part of Gray's\/Bringert's
HTTP module.
- Changes by Robin Bate Boerop robin@bateboerop.name: - Created. Made minor formatting changes.
Synopsis
- data StreamDebugger x
- debugStream :: Stream a => FilePath -> a -> IO (StreamDebugger a)
Documentation
debugStream :: Stream a => FilePath -> a -> IO (StreamDebugger a)Source
Wraps a stream with logging I/O.
The first argument is a filename which is opened in AppendMode
.