A small parser to parse irc log