Package io.scanbot.sdk.util.log
Class DebugLog
-
-
Field Summary
Fields Modifier and Type Field Description public final static StringLOG_DIRECTORYpublic final static StringLOG_EXTENSION
-
Method Summary
Modifier and Type Method Description Unitd(String tag, String message)Writes tag and message to the log file and also calls Log.d with given params. final Unitd(String message)Unitw(String tag, String message)Writes tag and message to the log file and also calls Log.w with given params. final Unitw(String message)Unite(String tag, String message)Writes tag and message to the log file and also calls Log.e with given params. final Unite(String tag, String where, Throwable e)Writes a message about exception to system log and to the file. final Unite(String message)Uniti(String tag, String message)Writes tag and message to the log file and also calls Log.i with given params. final Uniti(String message)UnitlogException(Throwable e)Shows log for exception UnitlogMethod()Shows log for invoked method -
-
Constructor Detail
-
DebugLog
DebugLog(Context context)
-
-
Method Detail
-
d
Unit d(String tag, String message)
Writes tag and message to the log file and also calls Log.d with given params.
-
w
Unit w(String tag, String message)
Writes tag and message to the log file and also calls Log.w with given params.
-
e
Unit e(String tag, String message)
Writes tag and message to the log file and also calls Log.e with given params.
-
e
final Unit e(String tag, String where, Throwable e)
Writes a message about exception to system log and to the file.
- Parameters:
tag- tag stringwhere- a string describing where the exception happenede- an exception which class name and message will be saved in log
-
i
Unit i(String tag, String message)
Writes tag and message to the log file and also calls Log.i with given params.
-
logException
Unit logException(Throwable e)
Shows log for exception
- Parameters:
e-Throwable for this error
-
-
-
-