If nothing appears then this isn't us. It's an environment problem, not 
sure how to debug that.

On Sunday, July 4, 2021 at 10:43:51 AM UTC+3 P5music wrote:

> It does not work. Nothing changes.
> Nothing is displayed in the console, not even the other stuff from the 
> system or CN1.
> The process is attached. I also detached and attached again.
> Regards
>
> Il giorno domenica 4 luglio 2021 alle 03:57:31 UTC+2 Shai Almog ha scritto:
>
>> Try using Log.p(String).
>>
>> On Saturday, July 3, 2021 at 11:46:20 AM UTC+3 P5music wrote:
>>
>>> 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/d26be844-2a24-4968-a06b-c4a7735bb9d1n%40googlegroups.com.

Reply via email to