Skip to content

Commit

Permalink
Merge pull request orhanobut#124 from Liryna/patch-1
Browse files Browse the repository at this point in the history
README - Fix sample indent and missing char for logger options.
  • Loading branch information
orhanobut authored May 28, 2017
2 parents c9b7b5a + 6942e21 commit 16baaab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Logger.d("debug");
Logger.e("error");
Logger.w("warning");
Logger.v("verbose");
Logger.i("informatio");
Logger.i("information");
Logger.wtf("wtf!!!!");
```

Expand Down Expand Up @@ -71,7 +71,7 @@ Logger.addLogAdapter(new AndroidLogAdapter(formatStrategy));
Log adapters checks whether the log should be printed out or not by checking this function.
If you want to disable/hide logs for output, override `isLoggable` method and put the condition.
```java
Logger.addLogAdapter(new AndroidLogAdapter(){
Logger.addLogAdapter(new AndroidLogAdapter() {
@Override public boolean isLoggable(int priority, String tag) {
return BuildConfig.DEBUG;
}
Expand Down

0 comments on commit 16baaab

Please sign in to comment.