Add app logs to log file

Refactor a new functions by adding name spaces
Startup times are now logged
This commit is contained in:
Brahim Hadriche committed 2024-01-09 14:19:54 -05:00
1 parent 29969db3e4
commit 73b6314ec7
9 files changed
+128 -85

No files matched your search

+3 -2
View File
@@ -19,8 +19,9 @@ function Main(args as object) as void
port = CreateObject("roMessagePort")
screen.setMessagePort(port)
m.global = screen.getGlobalNode()
Logger.Init()
ClearPlayletLibUrlsIfNeeded(args)
Registry.ClearPlayletLibUrlsIfNeeded(args)
scene = screen.CreateScene("BootstrapScene")
screen.show()
@@ -77,7 +78,7 @@ function Main(args as object) as void
field = msg.getField()
data = msg.getData()
if field = "exitChannel" and data = true
END
return
end if
else if msgType = "roInputEvent"
scene.inputArgs = msg.getInfo()