Didier9 Well-Known Member Licensed User Longtime User Feb 9, 2019 #1 I am sure I saw that before but at the moment I can't find it. I want to be able to turn off logging when not running in debug. Thanks in advance
I am sure I saw that before but at the moment I can't find it. I want to be able to turn off logging when not running in debug. Thanks in advance
DonManfred Expert Licensed User Longtime User Feb 9, 2019 #2 You can put your logs into a conditional compiling. Use Mylog(...) instead of LOG B4X: Sub Mylog(msg as string) #if debug Log(msg) #end if End sub Upvote 0
You can put your logs into a conditional compiling. Use Mylog(...) instead of LOG B4X: Sub Mylog(msg as string) #if debug Log(msg) #end if End sub
Didier9 Well-Known Member Licensed User Longtime User Feb 9, 2019 #3 Thank you, I knew it had to be simple Upvote 0
jimmyF Active Member Licensed User Longtime User Feb 10, 2019 #4 Didier9 said: Thank you, I knew it had to be simple Click to expand... It's only simple when you know how! Upvote 0
Didier9 said: Thank you, I knew it had to be simple Click to expand... It's only simple when you know how!