Wish New command for logs

Peter Simpson

Expert
Licensed User
Longtime User
Hello Erel, before you say just click on the Clear button :p

So far you have Log() and LogColor(), what would you say about creating LogClear() to clear the logs via the source code. This way whilst debugging when developers hit a break point they could just use LogClear() before repopulating the logs with their required log results. Sometimes for example one might log 123456...123456...123456... or reoccurring words, letters etc. It would be nice to have the LogClear() command to clear the logs automatically so that for example all one would see is 123456 and nothing else if LogClear() was used.

Just a though...
 

DonManfred

Expert
Licensed User
Longtime User

Peter Simpson

Expert
Licensed User
Longtime User
I'm not talking about clearing the logs on the phone, I just mean to clear the log screen itself in the IDE. Jumping back and forth to and from the clear button can be (but not always) seriously tedious at times, especially when you have repetitive or looping results.
 

ivan.tellez

Active Member
Licensed User
Longtime User
See my answer in post #10: However a "clear command" cannot work this way as it will cause the logs to clear in unwanted situations. For example when the IDE connects to the logs and then sees an old clear command.

Maybe just adding a TimeStamp in the "clear command" to avoid this situations?
 
Top