-
public class BacktraceLogger
Backtrace Logger class for logging messages from inside library
-
-
Method Summary
Modifier and Type Method Description static void
setLevel(LogLevel level)
set logging level from which all messages should be logged to the console static int
d(String tag, String message)
static int
w(String tag, String message)
Log messages that suggest something unexpected or rare has happened, which isn't an error. static int
e(String tag, String message)
Log messages that suggest error or something that should not happen static int
e(String tag, String message, Throwable tr)
Log messages that suggest error or something that should not happen -
-
Method Detail
-
setLevel
static void setLevel(LogLevel level)
set logging level from which all messages should be logged to the console
- Parameters:
level
- login level
-
d
static int d(String tag, String message)
- Parameters:
tag
- source of logs, usually identifies the class or activitymessage
- text information which should be logged
-
w
static int w(String tag, String message)
Log messages that suggest something unexpected or rare has happened, which isn't an error.
- Parameters:
tag
- source of logs, usually identifies the class or activitymessage
- text information which should be logged
-
e
static int e(String tag, String message)
Log messages that suggest error or something that should not happen
- Parameters:
tag
- source of logs, usually identifies the class or activitymessage
- text information which should be logged
-
-
-
-