diff --git a/README.md b/README.md index 258e44f9..117f2ec1 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ Simple, pretty and powerful logger for android ### Setup Download ```groovy -compile 'com.orhanobut:logger:2.1.1' +implementation 'com.orhanobut:logger:2.2.0' ``` Initialize @@ -32,7 +32,7 @@ Logger.e("error"); Logger.w("warning"); Logger.v("verbose"); Logger.i("information"); -Logger.wtf("wtf!!!!"); +Logger.wtf("What a Terrible Failure"); ``` String format arguments are supported @@ -98,7 +98,7 @@ Logger.addLogAdapter(new DiskLogAdapter(formatStrategy)); ### More -- Use the filter for a better result. PRETTY_LOGGER or your custom tag +- Use filter for a better result. PRETTY_LOGGER or your custom tag - Make sure that wrap option is disabled - You can also simplify output by changing settings. @@ -114,13 +114,9 @@ Timber.plant(new Timber.DebugTree() { }); ``` -### Breaking changes -- Initialization is changed. No backward compatibility support. Use `Logger.addLogAdapter` -- LogLevel is removed. Use the new `isLoggable` approach - ### License
-Copyright 2017 Orhan Obut +Copyright 2018 Orhan Obut Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/gradle.properties b/gradle.properties index 1ec89437..86a28fb1 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,4 +1,4 @@ -VERSION_NAME=2.1.1 +VERSION_NAME=2.2.0 GROUP=com.orhanobut POM_DESCRIPTION=Simple, Pretty and Advanced Logger