Commits

Daniel Poelzleithner committed fb7b7ac

concat all arguments into one message

Comments (0)

Files changed (1)

framework/env/trace/debug.lua

 --]]--
 
 function trace.debug(...)
-  for i,message in ipairs(arg) do
-    trace._new_entry{ type = "debug", message = tostring(message) }
+  message = ""
+  for i= 1,arg.n,1 do
+    message = message..tostring(arg[i]).." "
   end
+  trace._new_entry{ type = "debug", message = message }
 end