blammo icon indicating copy to clipboard operation
blammo copied to clipboard

Add `logTrace`

Open pbrisbin opened this issue 2 years ago • 0 comments

Blammo has special handling for LogLevelOther "trace", specifically to support Amazonka, which uses that level as more verbose than debug. It's a relatively common convention.

It would be nice to also add,

logTrace :: (MonadLogger m, HasCallStack) => Message -> m ()
logTrace = logOther $ LogLevelOther "trace"

So that Blammo users could themselves log at a level more verbose than debug without having to duplicate the magic string "trace".

pbrisbin avatar Jul 19 '24 14:07 pbrisbin