From a27e70ad0e2a2be3be638b21e25f6f5e43a0fd48 Mon Sep 17 00:00:00 2001 From: XeonSquared Date: Mon, 4 Sep 2017 02:04:05 +1000 Subject: [PATCH] made log() prefix a timestamp --- modules/debug/log.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/debug/log.lua b/modules/debug/log.lua index 421613d..63d304f 100644 --- a/modules/debug/log.lua +++ b/modules/debug/log.lua @@ -5,7 +5,7 @@ if component then if component.list("ocemu")() then component.invoke(component.list("ocemu")(),"log",v) end - Log=Log..tostring(v).."\n" + Log=Log.."["..tostring(computer.uptime()).."] "..tostring(v).."\n" end end print=log