Commits

Daniel Poelzleithner committed fc98e5c

add missing debug_table

trace.debug_table prints a table into the log.

Comments (0)

Files changed (1)

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