More abstraction in logger; fix bug in IRC gets.