-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathL.java
41 lines (34 loc) · 953 Bytes
/
L.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
package com.example.jeffreynyauke.myapplication.utils;
import com.example.jeffreynyauke.myapplication.BuildConfig;
import com.orhanobut.logger.Logger;
/**
* Created by AhmedEltaher on 01/01/17.
*/
public class L {
public static void d(String tag, String massage) {
if (BuildConfig.DEBUG) {
Logger.d(tag, massage);
}
}
public static void i(String tag, String massage) {
if (BuildConfig.DEBUG) {
Logger.i(tag, massage);
}
}
public static void v(String tag, String massage) {
if (BuildConfig.DEBUG) {
Logger.v(tag, massage);
}
}
public static void e(String tag, String massage) {
if (BuildConfig.DEBUG) {
Logger.e(tag, massage);
}
}
public static void json(String tag, String massage) {
if (BuildConfig.DEBUG) {
Logger.i(tag);
Logger.json(massage);
}
}
}