cardano-api
Safe HaskellNone
LanguageHaskell2010

Cardano.Api.Trace.Debug

Description

A collection of utility functions aiding debugging of the code.

Synopsis

Documentation

traceIO' Source #

Arguments

:: (HasCallStack, MonadIO m, Show a) 
=> String

label for the trace

-> a

value to trace

-> m () 

Deprecated: traceIO' left in the code

Trace a value in a MonadIO monad. Colours and renders with indentation the showed vaule.

trace' Source #

Arguments

:: Show a 
=> String

label for the trace

-> a

value to trace

-> a 

Deprecated: trace' left in the code

Trace pure value. Colours and renders with indentation the showed vaule.

pShow :: Show a => a -> Text #