| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Cardano.Logging.Formatter
Synopsis
- metricsFormatter :: forall a m. (LogFormatting a, MonadIO m) => Trace m FormattedMessage -> Trace m a
- preFormatted :: (LogFormatting a, MonadIO m) => Bool -> Trace m PreFormatted -> m (Trace m a)
- forwardFormatter :: forall a m. MonadIO m => LogFormatting a => Trace m FormattedMessage -> m (Trace m a)
- forwardFormatter' :: forall m. MonadIO m => Trace m FormattedMessage -> Trace m PreFormatted
- machineFormatter :: forall a m. (MonadIO m, LogFormatting a) => Trace m FormattedMessage -> m (Trace m a)
- machineFormatter' :: forall m. MonadIO m => Trace m FormattedMessage -> Trace m PreFormatted
- cborFormatter :: forall a m. (MonadIO m, LogFormatting a) => Trace m FormattedMessage -> m (Trace m a)
- cborFormatter' :: forall m. MonadIO m => Trace m FormattedMessage -> Trace m PreFormatted
- humanFormatter :: forall a m. MonadIO m => LogFormatting a => Bool -> Trace m FormattedMessage -> m (Trace m a)
- humanFormatter' :: forall m. MonadIO m => Bool -> Trace m FormattedMessage -> Trace m PreFormatted
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) => Bool -> Trace m PreFormatted -> 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 => Trace m FormattedMessage -> m (Trace m a) Source #
forwardFormatter' :: forall m. MonadIO m => Trace m FormattedMessage -> Trace m PreFormatted Source #
Format this trace as TraceObject for the trace forwarder
machineFormatter :: forall a m. (MonadIO m, LogFormatting a) => Trace m FormattedMessage -> m (Trace m a) Source #
machineFormatter' :: forall m. MonadIO m => Trace m FormattedMessage -> Trace m PreFormatted Source #
Format this trace as TraceObject for machine-readable text output (JSON)
cborFormatter :: forall a m. (MonadIO m, LogFormatting a) => Trace m FormattedMessage -> m (Trace m a) Source #
cborFormatter' :: forall m. MonadIO m => Trace m FormattedMessage -> Trace m PreFormatted Source #
Format this trace in binary serialisation (CBOR)
humanFormatter :: forall a m. MonadIO m => LogFormatting a => Bool -> Trace m FormattedMessage -> m (Trace m a) Source #
humanFormatter' :: forall m. MonadIO m => Bool -> Trace m FormattedMessage -> Trace m PreFormatted Source #
Format this trace in human readable text output