Commits

Daniel Poelzleithner  committed fc98e5c

add missing debug_table

trace.debug_table prints a table into the log.

  • Participants
  • Parent commits e31af86

Comments (0)

Files changed (1)

File framework/env/trace/debug_table.lua

+--[[--
+trace.debug(
+  message     -- message to be inserted into the trace log
+)
+
+This function can be used to include debug output in the trace log.
+
+--]]--
+
+function trace.debug_table(table)
+  trace._new_entry{ type = "debug_table", message = table }
+end