Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
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
MonadEventlog IO Source # | |
Defined in Control.Monad.Class.MonadEventlog | |
MonadEventlog m => MonadEventlog (ReaderT r m) Source # | |
Defined in Control.Monad.Class.MonadEventlog Methods traceEventIO :: String -> ReaderT r m () Source # traceMarkerIO :: String -> ReaderT r m () Source # |