Closed parsonsmatt closed 8 years ago
It definitely looks useful. For now, I'd say keep it in a separate package so that it can be easily updated without worrying about affecting the major version of monad-logger. If you'd like to submit a doc PR to include a link to this package from the monad-logger description, that would be great.
:+1:
We use log prefixes at work to help grep through logs. I've made a
newtype
instance that is sufficiently general that I'd like to make it available. If you'd like to have this inMonadLogger
, then I'd be happy to submit a PR, otherwise I'll just upload it to Hackage.This is the bulk of the code:
with usage like
which has the output