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

This commit is contained in:
Qingping Hou
2016-07-24 16:47:10 -07:00
parent 76cef07c07
commit 6d578b26f5

View File

@@ -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