Cabal-3.2.1.0: A framework for packaging Haskell software
Safe Haskell None
Language Haskell2010

Distribution.Utils.LogProgress

Synopsis

Documentation

runLogProgress :: Verbosity -> LogProgress a -> NoCallStackIO a Source #

Run LogProgress , outputting traces according to Verbosity , die if there is an error.

warnProgress :: Doc -> LogProgress () Source #

Output a warning trace message in LogProgress .

infoProgress :: Doc -> LogProgress () Source #

Output an informational trace message in LogProgress .

dieProgress :: Doc -> LogProgress a Source #

Fail the computation with an error message.

addProgressCtx :: CtxMsg -> LogProgress a -> LogProgress a Source #

Add a message to the error/warning context.