minor: use io.write instead of print for dbg module

pull/2245/head
Qingping Hou 8 years ago
parent 76cef07c07
commit 6d578b26f5

@ -21,7 +21,7 @@ local function LvDEBUG(lv, ...)
if isAndroid then
android.LOGI("#"..line)
else
print(string.format("# %s %s", os.date("%x-%X"), line))
io.stdout:write(string.format("# %s %s\n", os.date("%x-%X"), line))
io.stdout:flush()
end
end

Loading…
Cancel
Save