Glider logging

4 replies [Last post]
lavmax
User offline. Last seen 1 year 14 weeks ago. Offline
Joined: 24 Apr 2012

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

Replies

Rob Miracle
User is online Online
Staff
Joined: 26 Nov 2012

Glider should intercept normal "print" statements for your console or are you looking for something else?

M.Y.developers
User offline. Last seen 21 hours 41 min ago. Offline
Joined: 24 Apr 2011

@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

lavmax
User offline. Last seen 1 year 14 weeks ago. Offline
Joined: 24 Apr 2012

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.

M.Y.developers
User offline. Last seen 21 hours 41 min ago. Offline
Joined: 24 Apr 2011

@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

Viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.