Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Haxl.Core.Flags
Contents
Description
Tracing flags
Flags that control the operation of the engine.
Constructors
Flags | |
Fields
|
defaultFlags :: Flags Source #
ifTrace :: Monad m => Flags -> Int -> m a -> m () Source #
Runs an action if the tracing level is above the given threshold.
ifReport :: Monad m => Flags -> Int -> m a -> m () Source #
Runs an action if the report level is above the given threshold.
ifProfiling :: Monad m => Flags -> m a -> m () Source #