Copyright | (c) Eric Mertens 2016 |
---|---|
License | ISC |
Maintainer | emertens@gmail.com |
Safe Haskell | None |
Language | Haskell2010 |
This module provides provides logging functionality for IRC traffic.
Synopsis
- data LogLine = LogLine {}
- writeLogLine :: LogLine -> IO ()
- ignoreProblems :: IO () -> IO ()
- renderLogLine :: ClientMessage -> FilePath -> Identifier -> Maybe LogLine
Documentation
Log entry queued in client to be written by the event loop
ignoreProblems :: IO () -> IO () Source #
Ignore all IOErrors
:: ClientMessage | message |
-> FilePath | log directory |
-> Identifier | target |
-> Maybe LogLine |
Construct a LogLine
for the given ClientMessage
when appropriate.
Only chat messages result in a log line.