Have a simple B4A app with 2 modules, Main and Starter. Both need to do logging, but only in debugging mode. I have a Public variable for this bLog, which I have declared in the Starter module like this:
Sub Process_Globals
Public bLog As Boolean
End Sub
The Sub that does the logging is in...