mirror of
https://github.com/cheveguerra/Pusher_2.0.git
synced 2026-04-19 20:29:14 +00:00
Se agregó la variable logger en starter y condiciones para que solo mande logs cuando esta abierta la aplicacion
This commit is contained in:
@@ -13,6 +13,7 @@ Sub Process_Globals
|
||||
Public rp As RuntimePermissions
|
||||
Public FLP As FusedLocationProvider
|
||||
Dim dentroDeGeocerca As Map
|
||||
Dim logger As Boolean = False
|
||||
End Sub
|
||||
|
||||
Sub Service_Create
|
||||
@@ -21,7 +22,11 @@ Sub Service_Create
|
||||
End Sub
|
||||
|
||||
Sub Service_Start (StartingIntent As Intent)
|
||||
|
||||
#if DEBUG
|
||||
logger = True
|
||||
#else
|
||||
Logger = False
|
||||
#End If
|
||||
End Sub
|
||||
|
||||
Sub Application_Error (Error As Exception, StackTrace As String) As Boolean
|
||||
|
||||
Reference in New Issue
Block a user