io-classes-1.7.0.0: Type classes for concurrency with STM, ST and timing
Safe HaskellSafe-Inferred
LanguageHaskell2010

Control.Monad.Class.MonadEventlog

Documentation

class Monad m => MonadEventlog m where Source #

Methods

traceEventIO :: String -> m () Source #

Emits a message to the eventlog, if eventlog profiling is available and enabled at runtime.

traceMarkerIO :: String -> m () Source #

Emits a marker to the eventlog, if eventlog profiling is available and enabled at runtime.

The String is the name of the marker. The name is just used in the profiling tools to help you keep clear which marker is which.

Instances

Instances details
MonadEventlog IO Source # 
Instance details

Defined in Control.Monad.Class.MonadEventlog

MonadEventlog m => MonadEventlog (ReaderT r m) Source # 
Instance details

Defined in Control.Monad.Class.MonadEventlog