patch applied (cabal): Wrap the output of the logging functions