made log() prefix a timestamp

This commit is contained in:
Izaya 2017-09-04 02:04:05 +10:00
parent a40d2dfc29
commit a27e70ad0e

View File

@ -5,7 +5,7 @@ if component then
if component.list("ocemu")() then if component.list("ocemu")() then
component.invoke(component.list("ocemu")(),"log",v) component.invoke(component.list("ocemu")(),"log",v)
end end
Log=Log..tostring(v).."\n" Log=Log.."["..tostring(computer.uptime()).."] "..tostring(v).."\n"
end end
end end
print=log print=log