Android Question GenyMotion and Log("xxx")

wroyw

Member
Licensed User
Hi,

I use now GenyMotion as emulator. It works fine.
My Problem is that the Log("xxx") commands also log in release mode ...
Is that right ?
(I don't insert #BridgeLogger: true )
 

DonManfred

Expert
Licensed User
Longtime User
Is that right ?
yes.
You can encapsulate your LOGs with
B4X:
#If debug
log("my log will only be in Debug-Modes")
#End If
 
Upvote 0

wroyw

Member
Licensed User
okay. I use that :
B4X:
Sub dlog(s As String)
   #if debug
     log(s)
   #End If
End Sub

But there are many system logs ...(chekbox "Filter")
 
Upvote 0
Top