Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- metricsFormatter :: forall a m. (LogFormatting a, MonadIO m) => Trace m FormattedMessage -> Trace m a
- preFormatted :: (LogFormatting a, MonadIO m) => [BackendConfig] -> Trace m (PreFormatted a) -> m (Trace m a)
- forwardFormatter :: forall a m. MonadIO m => LogFormatting a => Maybe Text -> Trace m FormattedMessage -> m (Trace m a)
- forwardFormatter' :: forall a m. MonadIO m => Maybe Text -> Trace m FormattedMessage -> Trace m (PreFormatted a)
- machineFormatter :: forall a m. (MonadIO m, LogFormatting a) => Maybe Text -> Trace m FormattedMessage -> m (Trace m a)
- machineFormatter' :: forall a m. MonadIO m => Maybe Text -> Trace m FormattedMessage -> Trace m (PreFormatted a)
- humanFormatter :: forall a m. MonadIO m => LogFormatting a => Bool -> Maybe Text -> Trace m FormattedMessage -> m (Trace m a)
- humanFormatter' :: forall a m. MonadIO m => Bool -> Maybe Text -> Trace m FormattedMessage -> Trace m (PreFormatted a)
Documentation
metricsFormatter :: forall a m. (LogFormatting a, MonadIO m) => Trace m FormattedMessage -> Trace m a Source #
Format this trace as metrics
preFormatted :: (LogFormatting a, MonadIO m) => [BackendConfig] -> Trace m (PreFormatted a) -> m (Trace m a) Source #
Transform this trace to a preformatted message, so that double serialization is avoided
forwardFormatter :: forall a m. MonadIO m => LogFormatting a => Maybe Text -> Trace m FormattedMessage -> m (Trace m a) Source #
forwardFormatter' :: forall a m. MonadIO m => Maybe Text -> Trace m FormattedMessage -> Trace m (PreFormatted a) Source #
Format this trace as TraceObject for the trace forwarder
machineFormatter :: forall a m. (MonadIO m, LogFormatting a) => Maybe Text -> Trace m FormattedMessage -> m (Trace m a) Source #
machineFormatter' :: forall a m. MonadIO m => Maybe Text -> Trace m FormattedMessage -> Trace m (PreFormatted a) Source #
Format this trace as TraceObject for the trace forwarder
humanFormatter :: forall a m. MonadIO m => LogFormatting a => Bool -> Maybe Text -> Trace m FormattedMessage -> m (Trace m a) Source #
humanFormatter' :: forall a m. MonadIO m => Bool -> Maybe Text -> Trace m FormattedMessage -> Trace m (PreFormatted a) Source #
Format this trace in human readable style