webmcp

view framework/env/trace/debug_table.lua @ 179:461e5353ffb1

Limit max depth of JSON documents to 50 (until a better implementation of json.export is available)
author jbe
date Sat Aug 02 00:38:25 2014 +0200 (2014-08-02)
parents 3480a11da8e8
children
line source
1 --[[--
2 trace.debug_table(
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