made log() prefix a timestamp

This commit is contained in:
Izaya 2017-09-04 02:04:05 +10:00
parent a40d2dfc29
commit a27e70ad0e
1 changed files with 1 additions and 1 deletions

View File

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