Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
afiqiqmal committed Feb 8, 2017
1 parent 97fe4a4 commit 48efef6
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ android {
minSdkVersion 16
targetSdkVersion 25
versionCode 1
versionName "1.0.0"
versionName "1.0.1"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
Expand All @@ -28,6 +28,6 @@ dependencies {
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
compile 'com.android.support:appcompat-v7:25.1.0'
compile 'com.android.support:appcompat-v7:25.1.1'
testCompile 'junit:junit:4.12'
}
30 changes: 30 additions & 0 deletions easylogger/src/main/java/com/logger/min/easylogger/Logger.java
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@ public static void canShowLog(boolean show){
}


public static void info(String tag,String message){
LogPrint.setTag(tag);
info(message);
}

public static void info(String message){
LogPrint.i(message);
}
Expand All @@ -50,6 +55,12 @@ public static void info(Object message, Format format){
}



public static void debug(String tag,String message){
LogPrint.setTag(tag);
debug(message);
}

public static void debug(String message){
LogPrint.d(message);
}
Expand All @@ -64,6 +75,11 @@ public static void debug(Object message, Format format){



public static void warn(String tag,String message){
LogPrint.setTag(tag);
warn(message);
}

public static void warn(String message){
LogPrint.w(message);
}
Expand All @@ -78,6 +94,11 @@ public static void warn(Object message, Format format){



public static void error(String tag,String message){
LogPrint.setTag(tag);
error(message);
}

public static void error(String message){
LogPrint.e(message);
}
Expand All @@ -99,6 +120,10 @@ public static void error(Object message, Format format){
}


public static void verbose(String tag,String message){
LogPrint.setTag(tag);
verbose(message);
}

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



public static void wtf(String tag,String message){
LogPrint.setTag(tag);
wtf(message);
}

public static void wtf(String message){
LogPrint.wtf(message);
}
Expand Down

0 comments on commit 48efef6

Please sign in to comment.