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 if isAndroid then
android.LOGI("#"..line) android.LOGI("#"..line)
else else
print("#"..line) print(string.format("# %s %s", os.date("%x-%X"), line))
io.stdout:flush() io.stdout:flush()
end end
end end

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

Loading…
Cancel
Save