made log() prefix a timestamp
This commit is contained in:
parent
a40d2dfc29
commit
a27e70ad0e
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user