Hi,
sorry if this is a well known question, but I couldn’t find any help about it.
How to make logging in Glider, something like console.log()
?
Max [import]uid: 144771 topic_id: 35129 reply_id: 335129[/import]
Glider should intercept normal “print” statements for your console or are you looking for something else? [import]uid: 199310 topic_id: 35129 reply_id: 139664[/import]
@Rob,
Thanks for your help!
@Max,
Thanks for your interest.
As Rob said all print and error statements are intercepted and forwarded to the Glider output window. You can then save the results to a file by right clicking->save as. Do you need a more complicated logging solution like different log levels?
Regards,
M.Y. Developers
[import]uid: 55057 topic_id: 35129 reply_id: 139666[/import]
That’s exactly what I was looking for! Thank you!
I’m newbie in Corona/Lua/Glider so my questions could be obvious. But it is not so easy to google about this environment as about UIKit/Objective-C/Xcode that I got used to.
[import]uid: 144771 topic_id: 35129 reply_id: 139667[/import]
@Max,
No problem! There are plenty of resources around the forums and the Corona Labs site. if you can decipher Obj-C you will have no problem using Lua.
If you have any questions about Glider or Lua in general don’t hesitate to ask!
Regards,
M.Y. Developers
[import]uid: 55057 topic_id: 35129 reply_id: 139668[/import]
Glider should intercept normal “print” statements for your console or are you looking for something else? [import]uid: 199310 topic_id: 35129 reply_id: 139664[/import]
@Rob,
Thanks for your help!
@Max,
Thanks for your interest.
As Rob said all print and error statements are intercepted and forwarded to the Glider output window. You can then save the results to a file by right clicking->save as. Do you need a more complicated logging solution like different log levels?
Regards,
M.Y. Developers
[import]uid: 55057 topic_id: 35129 reply_id: 139666[/import]
That’s exactly what I was looking for! Thank you!
I’m newbie in Corona/Lua/Glider so my questions could be obvious. But it is not so easy to google about this environment as about UIKit/Objective-C/Xcode that I got used to.
[import]uid: 144771 topic_id: 35129 reply_id: 139667[/import]
@Max,
No problem! There are plenty of resources around the forums and the Corona Labs site. if you can decipher Obj-C you will have no problem using Lua.
If you have any questions about Glider or Lua in general don’t hesitate to ask!
Regards,
M.Y. Developers
[import]uid: 55057 topic_id: 35129 reply_id: 139668[/import]