plutus-tx-1.38.0.0: Libraries for Plutus Tx and its prelude
Safe HaskellSafe-Inferred
LanguageHaskell2010

PlutusTx.Trace

Synopsis

Documentation

traceBuiltinString → a → a Source #

Emit the given string as a trace message before evaluating the argument.

traceErrorBuiltinString → a Source #

Log a message and then terminate the evaluation with an error.

traceIfFalseBuiltinStringBoolBool Source #

Emit the given BuiltinString only if the argument evaluates to False.

traceIfTrueBuiltinStringBoolBool Source #

Emit the given BuiltinString only if the argument evaluates to True.

traceBoolBuiltinStringBuiltinStringBoolBool Source #

Emit one of two BuiltinString depending on whether or not the argument evaluates to True or False.