io-classes-0.2.0.0: Type classes for concurrency with STM, ST and timing
Safe Haskell None
Language Haskell2010

Control.Monad.Class.MonadEventlog

Synopsis

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.

Deprecated API

traceEventM :: MonadEventlog m => String -> m () Source #

Deprecated: Use traceEventIO

traceMarkerM :: MonadEventlog m => String -> m () Source #

Deprecated: Use traceEventIO