From ab9a86788fe7bd6098bf65425d4cde72d3e10119 Mon Sep 17 00:00:00 2001 From: Qingping Hou Date: Sun, 10 Jul 2016 15:52:24 -0700 Subject: [PATCH] dbg: prefix log with datetime --- frontend/dbg.lua | 2 +- kodev | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/dbg.lua b/frontend/dbg.lua index 8633510a1..4fec08f63 100644 --- a/frontend/dbg.lua +++ b/frontend/dbg.lua @@ -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 diff --git a/kodev b/kodev index de0eb9701..4eae9c5af 100755 --- a/kodev +++ b/kodev @@ -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