Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- inSpanM :: (MonadIO m, MonadMask m, HasCallStack) => Tracer -> Text -> SpanArguments -> m a -> m a
- inSpanM' :: (MonadIO m, MonadMask m, HasCallStack) => Tracer -> Text -> SpanArguments -> (Span -> m a) -> m a
- inSpanM'' :: (MonadMask m, HasCallStack, MonadIO m) => Tracer -> CallStack -> Text -> SpanArguments -> (Span -> m a) -> m a
Documentation
:: (MonadIO m, MonadMask m, HasCallStack) | |
=> Tracer | |
-> Text | The name of the span. This may be updated later via |
-> SpanArguments | Additional options for creating the span, such as |
-> m a | The action to perform. |
-> m a |
The simplest function for annotating code with trace information.
:: (MonadIO m, MonadMask m, HasCallStack) | |
=> Tracer | |
-> Text | The name of the span. This may be updated later via |
-> SpanArguments | |
-> (Span -> m a) | |
-> m a |