Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
-
class
Monad
m =>
MonadEventlog
m
where
- traceEventIO :: String -> m ()
- traceMarkerIO :: String -> m ()
- traceEventM :: MonadEventlog m => String -> m ()
- traceMarkerM :: MonadEventlog m => String -> m ()
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 # |
Deprecated API
traceEventM :: MonadEventlog m => String -> m () Source #
Deprecated: Use traceEventIO
traceMarkerM :: MonadEventlog m => String -> m () Source #
Deprecated: Use traceEventIO