webmcp

view framework/env/trace/debug_table.lua @ 33:fc98e5c6bfab

add missing debug_table

trace.debug_table prints a table into the log.
author Daniel Poelzleithner <poelzi@poelzi.org>
date Tue Oct 05 05:19:47 2010 +0200 (2010-10-05)
parents
children 3480a11da8e8
line source
1 --[[--
2 trace.debug(
3 message -- message to be inserted into the trace log
4 )
6 This function can be used to include debug output in the trace log.
8 --]]--
10 function trace.debug_table(table)
11 trace._new_entry{ type = "debug_table", message = table }
12 end

Impressum / About Us