irclog: make LogWriter a io.Writer

Signed-off-by: Boqun Feng <boqun.feng@gmail.com>