-
Notifications
You must be signed in to change notification settings - Fork 8
/
PreventLog.java
52 lines (37 loc) · 922 Bytes
/
PreventLog.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
package me.piebridge.prevent.framework;
import android.util.Log;
/**
* Created by thom on 15/7/25.
*/
public class PreventLog {
public static final String TAG = "Prevent";
private PreventLog() {
}
public static void v(String msg) {
Log.v(TAG, msg);
}
public static void v(String msg, Throwable t) {
Log.v(TAG, msg, t);
}
public static void d(String msg) {
Log.d(TAG, msg);
}
public static void d(String msg, Throwable t) {
Log.d(TAG, msg, t);
}
public static void i(String msg) {
Log.i(TAG, msg);
}
public static void w(String msg) {
Log.w(TAG, msg);
}
public static void w(String msg, Throwable t) {
Log.w(TAG, msg, t);
}
public static void e(String msg) {
Log.e(TAG, msg);
}
public static void e(String msg, Throwable t) {
Log.e(TAG, msg, t);
}
}