jbe/bsw@0: --[[-- poelzi@36: trace.debug(...) poelzi@36: arg -- messages to be inserted into the trace log poelzi@36: jbe/bsw@0: jbe/bsw@0: This function can be used to include debug output in the trace log. jbe/bsw@0: jbe/bsw@0: --]]-- jbe/bsw@0: poelzi@36: function trace.debug(...) poelzi@36: for i,message in ipairs(arg) do poelzi@36: trace._new_entry{ type = "debug", message = tostring(message) } poelzi@36: end jbe/bsw@0: end