Skip to content

Commit 48efef6

Browse files
committed
update
1 parent 97fe4a4 commit 48efef6

File tree

2 files changed

+32
-2
lines changed

2 files changed

+32
-2
lines changed

app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ android {
88
minSdkVersion 16
99
targetSdkVersion 25
1010
versionCode 1
11-
versionName "1.0.0"
11+
versionName "1.0.1"
1212
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
1313
}
1414
buildTypes {
@@ -28,6 +28,6 @@ dependencies {
2828
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
2929
exclude group: 'com.android.support', module: 'support-annotations'
3030
})
31-
compile 'com.android.support:appcompat-v7:25.1.0'
31+
compile 'com.android.support:appcompat-v7:25.1.1'
3232
testCompile 'junit:junit:4.12'
3333
}

easylogger/src/main/java/com/logger/min/easylogger/Logger.java

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,11 @@ public static void canShowLog(boolean show){
3737
}
3838

3939

40+
public static void info(String tag,String message){
41+
LogPrint.setTag(tag);
42+
info(message);
43+
}
44+
4045
public static void info(String message){
4146
LogPrint.i(message);
4247
}
@@ -50,6 +55,12 @@ public static void info(Object message, Format format){
5055
}
5156

5257

58+
59+
public static void debug(String tag,String message){
60+
LogPrint.setTag(tag);
61+
debug(message);
62+
}
63+
5364
public static void debug(String message){
5465
LogPrint.d(message);
5566
}
@@ -64,6 +75,11 @@ public static void debug(Object message, Format format){
6475

6576

6677

78+
public static void warn(String tag,String message){
79+
LogPrint.setTag(tag);
80+
warn(message);
81+
}
82+
6783
public static void warn(String message){
6884
LogPrint.w(message);
6985
}
@@ -78,6 +94,11 @@ public static void warn(Object message, Format format){
7894

7995

8096

97+
public static void error(String tag,String message){
98+
LogPrint.setTag(tag);
99+
error(message);
100+
}
101+
81102
public static void error(String message){
82103
LogPrint.e(message);
83104
}
@@ -99,6 +120,10 @@ public static void error(Object message, Format format){
99120
}
100121

101122

123+
public static void verbose(String tag,String message){
124+
LogPrint.setTag(tag);
125+
verbose(message);
126+
}
102127

103128
public static void verbose(String message){
104129
LogPrint.v(message);
@@ -114,6 +139,11 @@ public static void verbose(Object message, Format format){
114139

115140

116141

142+
public static void wtf(String tag,String message){
143+
LogPrint.setTag(tag);
144+
wtf(message);
145+
}
146+
117147
public static void wtf(String message){
118148
LogPrint.wtf(message);
119149
}

0 commit comments

Comments
 (0)