dbg: prefix log with datetime

pull/2151/head
Qingping Hou 8 years ago
parent 44d62f6f41
commit ab9a86788f

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

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

Loading…
Cancel
Save