public final class Rlog extends Object
Modifier and Type | Method and Description |
---|---|
static int |
d(String tag,
String msg) |
static int |
d(String tag,
String msg,
Throwable tr) |
static int |
e(String tag,
String msg) |
static int |
e(String tag,
String msg,
Throwable tr) |
static int |
i(String tag,
String msg) |
static int |
i(String tag,
String msg,
Throwable tr) |
static boolean |
isLoggable(String tag,
int level) |
static String |
pii(boolean enablePiiLogging,
Object pii)
Redact personally identifiable information for production users.
|
static String |
pii(String tag,
Object pii)
Redact personally identifiable information for production users.
|
static int |
println(int priority,
String tag,
String msg) |
static int |
v(String tag,
String msg) |
static int |
v(String tag,
String msg,
Throwable tr) |
static int |
w(String tag,
String msg) |
static int |
w(String tag,
String msg,
Throwable tr) |
static int |
w(String tag,
Throwable tr) |
public static boolean isLoggable(String tag, int level)
public static String pii(String tag, Object pii)
tag
- used to identify the source of a log messagepii
- the personally identifiable information we want to apply secure hash on.public static String pii(boolean enablePiiLogging, Object pii)
enablePiiLogging
- set when caller explicitly want to enable sensitive logging.pii
- the personally identifiable information we want to apply secure hash on.