I am testing my CN1 app on the iOS simulator.
I had many lines like
System.out.println("something to be logged");
throughout the app.

I replaced all those lines with static calls to 
MyUtils.MyLog(string);

that just wraps the println instruction with an if condition like
if (logAllowed) System.out.println(param);

I put logAllowed=true just inside the MyLog method.
The log messages are printed in the CN1 simulator console

but I cannot see such console messages on the iOS simulator.

It is likely it does not depend on the Utils.MyLog call (or it is because 
it is static?).

So is there something that can prevent the logging from appearing in the 
iOS simulator console? I do not see any message, not even the usual 
messages from CN1 or the system.
But the Swift version of my app correctly logs as usual on the same iOS 
simulator instance.

Thanks in advance

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/16124a45-d569-44a8-b08e-0ccc8b9af836n%40googlegroups.com.

Reply via email to