dbg: prefix log with datetime

This commit is contained in:
Qingping Hou
2016-07-10 15:52:24 -07:00
parent 44d62f6f41
commit ab9a86788f
2 changed files with 2 additions and 2 deletions

View File

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

2
kodev
View File

@@ -109,7 +109,7 @@ ${SUPPORTED_TARGETS}"
*)
check_submodules
make
assert_ret_zero $? "Failed to build emulator!"
assert_ret_zero $? "Failed to build emulator! Try run with -v for more information."
setup_env
;;
esac