Versatile logging framework for Haskell