Quick Links: Download Gideros Studio | Gideros Documentation | Gideros Development Center | Gideros community chat | DONATE
Log Messages — Gideros Forum

Log Messages

adnaanadnaan Member
edited September 2011 in General questions
Is there someway I can log messages?
Am I missing something in the api?

Comments

  • atilimatilim Maintainer
    You can use the Lua's print function to display messages at Output view of Gideros Studio:
    print("Hello")
    or more simply
    print"Hello"
  • Sorry to bring this back, but I was talking about log messages which show up in adb logcat for android.
  • MikeHartMikeHart Guru
    edited January 2012
    did you try
    io.output():setvbuf('no')
    and the use print or io.write?
  • yes just tried that. did not work.
  • atilimatilim Maintainer
    edited January 2012
    Currently there is not way to send a log message to logcat.
  • @atlim, I really need it. I have a prototype ready, and it's messing up all over the place and I am not sure why. More over I am an android developer by profession, so I have a habit of looking into logcat messages. Is there nothing we can do?
  • atilimatilim Maintainer
    edited January 2012
    hmm.. I may miss a point. While running your game in the gideros player (android, ios or desktop player), print("message") shows the message at the output window of the gideros studio. I wonder why you prefer logcat instead of viewing your messages at output window?
  • it is useful when you are testing the .apk file. Unable to view massages that i print inside the lua function make errors that only could be discovered by not using the gideros player (e.g. in app billing testing) harder to debug.

    Likes: bml

    +1 -1 (+1 / -0 )Share on Facebook
  • it will save much time to be able to output some messages rather than to guess where the trouble is. please consider this
  • edited April 2014
    @atilim

    Is this fixed?
    I make games for children: http://www.kidoteca.com
  • ar2rsawseenar2rsawseen Maintainer
    @speeder_kidoteca unfortunately not, it is recommended to make a Gideros player with your preinstalled plugins and test it that way:
    More on Making Gideros player in "Device player with plugins" tab
    http://docs.giderosmobile.com/deployment.html
  • Is there still no way to get messages from inside an app running on a device to logcat or something else? What about this one? http://developer.android.com/tools/debugging/debugging-log.html
Sign In or Register to comment.