' Will write the Text only if the conditional symbol is not set (DEBUG by default).
' Params: pass Null if not needed.
' Crl: Text color - B4A only.
Public Sub Logs(Text As String, Params As List, Clr As Int)
#IF DEBUG
#IF B4A
LogColor(Text, Clr)
#ELSE
Log(Text)
#End If
If Not(Params.IsInitialized) Then Return
For i = 0 To Params.Size -1
#IF B4A
LogColor(TAB & Params.Get(i), Clr)
#Else
Log(TAB & Params.Get(i))
#End If
Next
#End If
End Sub