-
Notifications
You must be signed in to change notification settings - Fork 6
Logging Data
Muhammad Umair Adil edited this page Sep 12, 2018
·
1 revision
To Log data to File simply call this:
PLog.logThis(TAG, "buttonOnClick", "Log: " + Math.random(), LogLevel.INFO)
Both Exceptions & Throwable can be passed to logger.
PLog.logExc(TAG, "uncaughtException", e)
Exceptions & Throwable can be tagged as severe by adding LogLevel.SEVERE:
PLog.logExc(TAG, "uncaughtException", e, LogLevel.SEVERE)