Data.IRC.CLog.Parse
Description
Parse events from clog
output, such as the files
at http://tunes.org/~nef/logs/haskell/.
IRC has no single standard character encoding. This module decodes messages as UTF-8 following common practice on Freenode.
Parsing log files
parseLog :: Config -> FilePath -> IO [EventAt]Source
Parse a log file. The file name (after any directory)
is significant. It is used to set the date for timestamps.
It should have the form YY.MM.DD
, as do the files on
tunes.org
.
Configuring the parser
Configuring the parser.
Constructors
Config | |
value suitable for parsing Config
#haskell
logs on Linux.
Re-export
module Data.IRC.Event