Home  Contents

mtd16:trace

Mtd16 Core4 Lua Commands

SYNOPSIS

  1. text = msg:trace()
  2. text = tostring(msg)

DESCRIPTION

The trace() command converts msg into human readable text useful for debugging. It is a shortcut for mtd16:toText(nil, "NF").

The same call is made when calling a message in string context.

RETURN VALUE

A human readable string representation of msg.

NOTES

The output of this function is meant for human consumption. Do not automatically process this text. If you need machine readable text, please read the documentation on mtd16:toText() first!.

SEE ALSO