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