Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
trace_ :: (MonadTracing m, HasCallStack) => SpanSpec -> m a -> m a Source #
trace :: (MonadTracing m, HasCallStack) => SpanSpec -> (MutableSpan -> m a) -> m a Source #
class Monad m => MonadTracing m where Source #
Nothing
traceCS :: CallStack -> SpanSpec -> (MutableSpan -> m a) -> m a Source #
default traceCS :: (MonadTransControl t, MonadTracing n, m ~ t n) => CallStack -> SpanSpec -> (MutableSpan -> m a) -> m a Source #
getSpanContext :: MutableSpan -> m SpanContext Source #
default getSpanContext :: (MonadTrans t, MonadTracing n, m ~ t n) => MutableSpan -> m SpanContext Source #
updateSpan :: MutableSpan -> UpdateSpanSpec -> m () Source #
default updateSpan :: (MonadTrans t, MonadTracing n, m ~ t n) => MutableSpan -> UpdateSpanSpec -> m () Source #
Instances
class (MonadTracing m, MonadIO m) => MonadTracingIO m where Source #
Nothing
askTracerIO :: m Tracer Source #
default askTracerIO :: (MonadTrans t, MonadTracingIO n, m ~ t n) => m Tracer Source #