webmcp

view framework/env/trace/debug_table.lua @ 110:0c4841af07a5

String truncating by counting Unicode codepoints in format.string(...)
(grapheme cluster boundary detection not implemented)
author jbe
date Sun Jan 12 03:57:47 2014 +0100 (2014-01-12)
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