monadlog-0.1.1.1: A simple and fast logging monad

Safe HaskellNone
LanguageHaskell2010

Control.Monad.Log.Label

Synopsis

Documentation

data Label Source #

Simple Label environment for labelled logging.

showt (Label "foo") = "foo"
toJSON (Label "foo") = "foo"

Constructors

Label Text 

withLabel :: MonadLog Label m => Label -> m a -> m a Source #

withEnv specialized for Label