Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Modified default methodOffset in order to display useful message while working with Timber.
  • Loading branch information
shiehnpin authored May 5, 2017
1 parent 441d244 commit 3251d96
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,9 @@ Logger.e(exception,"message");
<img src='https://github.com/orhanobut/logger/blob/master/images/wrap-closed.png'/>

### Timber Integration
You can also use logger along with Timber.
You can also use logger along with Timber.
```java
Logger.init().methodOffset(5);
Timber.plant(new Timber.DebugTree() {
@Override protected void log(int priority, String tag, String message, Throwable t) {
Logger.log(priority, tag, message, t);
Expand Down

0 comments on commit 3251d96

Please sign in to comment.