Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Cardano.Tracing.Render
Synopsis
- renderBlockOrEBB :: BlockOrEBB -> Text
- renderChunkNo :: ChunkNo -> Text
- renderHeaderHash :: ConvertRawHash blk => proxy blk -> HeaderHash blk -> Text
- renderHeaderHashForVerbosity :: ConvertRawHash blk => proxy blk -> TracingVerbosity -> HeaderHash blk -> Text
- renderChainHash :: (HeaderHash blk -> Text) -> ChainHash blk -> Text
- renderTipBlockNo :: Tip blk -> Text
- renderTipHash :: StandardHash blk => Tip blk -> Text
- renderPoint :: ConvertRawHash blk => Point blk -> Text
- renderPointAsPhrase :: forall blk. ConvertRawHash blk => Point blk -> Text
- renderPointForVerbosity :: forall blk. ConvertRawHash blk => TracingVerbosity -> Point blk -> Text
- renderRealPoint :: forall blk. ConvertRawHash blk => RealPoint blk -> Text
- renderRealPointAsPhrase :: forall blk. ConvertRawHash blk => RealPoint blk -> Text
- renderSlotNo :: SlotNo -> Text
- renderTip :: ConvertRawHash blk => Tip blk -> Text
- renderTipForVerbosity :: ConvertRawHash blk => TracingVerbosity -> Tip blk -> Text
- renderTxId :: ConvertTxId blk => TxId (GenTx blk) -> Text
- renderTxIdForVerbosity :: ConvertTxId blk => TracingVerbosity -> TxId (GenTx blk) -> Text
- renderWithOrigin :: (a -> Text) -> WithOrigin a -> Text
Documentation
renderBlockOrEBB :: BlockOrEBB -> Text Source #
renderChunkNo :: ChunkNo -> Text Source #
renderHeaderHash :: ConvertRawHash blk => proxy blk -> HeaderHash blk -> Text Source #
Hex encode and render a HeaderHash
as text.
renderHeaderHashForVerbosity :: ConvertRawHash blk => proxy blk -> TracingVerbosity -> HeaderHash blk -> Text Source #
renderChainHash :: (HeaderHash blk -> Text) -> ChainHash blk -> Text Source #
renderTipBlockNo :: Tip blk -> Text Source #
renderTipHash :: StandardHash blk => Tip blk -> Text Source #
renderPoint :: ConvertRawHash blk => Point blk -> Text Source #
renderPointAsPhrase :: forall blk. ConvertRawHash blk => Point blk -> Text Source #
Render a short phrase describing a Point
.
e.g. "62292d753b2ee7e903095bc5f10b03cf4209f456ea08f55308e0aaab4350dda4 at
slot 39920" or "genesis (origin)" in the case of a genesis point.
renderPointForVerbosity :: forall blk. ConvertRawHash blk => TracingVerbosity -> Point blk -> Text Source #
renderRealPoint :: forall blk. ConvertRawHash blk => RealPoint blk -> Text Source #
renderRealPointAsPhrase :: forall blk. ConvertRawHash blk => RealPoint blk -> Text Source #
Render a short phrase describing a RealPoint
.
e.g. "62292d753b2ee7e903095bc5f10b03cf4209f456ea08f55308e0aaab4350dda4 at
slot 39920"
renderSlotNo :: SlotNo -> Text Source #
renderTipForVerbosity :: ConvertRawHash blk => TracingVerbosity -> Tip blk -> Text Source #
renderTxId :: ConvertTxId blk => TxId (GenTx blk) -> Text Source #
renderTxIdForVerbosity :: ConvertTxId blk => TracingVerbosity -> TxId (GenTx blk) -> Text Source #
renderWithOrigin :: (a -> Text) -> WithOrigin a -> Text Source #