Now
Wish
B4X:
Public Sub Page_Creator ()
#If LOG_ON
Log($"${sMODULE_NAME}.Page_Creator"$)
#End If
...
End Sub
Public Sub Page_Creator1 (a As Int)
#If LOG_ON
Log($"${sMODULE_NAME}.Page_Creator(${a})"$)
#End If
...
End Sub
Wish
B4X:
#Sub LOG_SUBANAME(SubName)
#If LOG_ON
Log($"${MODULE_NAME}.SubName"$)
#End If
#End Sub
#Sub LOG_SUBANAME1(SubName, arg1)
#If LOG_ON
Log($"${MODULE_NAME}.SubName${arg1}"$)
#End If
#End Sub
Public Sub Page_Creator ()
LOG_SUBANAME(Page_Creator)
...
End Sub
Public Sub Page_Creator (a As Int)
LOG_SUBANAME(Page_Creator, a)
...
End Sub