(#) com.jakewharton.timber:timber
Name
: Timber
Description
: No-nonsense injectable logging.
Project
: https://github.com/JakeWharton/timber
License
: [The Apache Software License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0.txt)
Vendor
: JakeWharton/timber
Identifier
: com.jakewharton.timber:timber:{version}
Feedback
: https://github.com/JakeWharton/timber/issues
Min
: Lint 4.0
Compiled
: Lint 7.0
Artifact
: com.jakewharton.timber:timber:5.0.1
(##) Included Issues
|Issue Id |Issue Description |
|----------------------------------------------------------|----------------------------------------------------|
|[LogNotTimber](LogNotTimber.md.html) |Logging call to Log instead of Timber |
|[StringFormatInTimber](StringFormatInTimber.md.html) |Logging call with Timber contains String#format() |
|[ThrowableNotAtBeginning](ThrowableNotAtBeginning.md.html)|Exception in Timber not at the beginning |
|[BinaryOperationInTimber](BinaryOperationInTimber.md.html)|Use String#format() |
|[TimberArgCount](TimberArgCount.md.html) |Formatting argument types incomplete or inconsistent|
|[TimberArgTypes](TimberArgTypes.md.html) |Formatting string doesn't match passed arguments |
|[TimberTagLength](TimberTagLength.md.html) |Too Long Log Tags |
|[TimberExceptionLogging](TimberExceptionLogging.md.html) |Exception Logging |
(##) Including
!!!
This is not a built-in check. To include it, add the below dependency
to your project. This lint check is included in the lint documentation,
but the Android team may or may not agree with its recommendations.
```
// build.gradle.kts
implementation("com.jakewharton.timber:timber:5.0.1")
// build.gradle
implementation 'com.jakewharton.timber:timber:5.0.1'
// build.gradle.kts with version catalogs:
implementation(libs.timber)
# libs.versions.toml
[versions]
timber = "5.0.1"
[libraries]
# For clarity and text wrapping purposes the following declaration is
# shown split up across lines, but in TOML it needs to be on a single
# line (see https://github.com/toml-lang/toml/issues/516) so adjust
# when pasting into libs.versions.toml:
timber = {
module = "com.jakewharton.timber:timber",
version.ref = "timber"
}
```
5.0.1 is the version this documentation was generated from;
there may be newer versions available.
(##) Changes
* 4.6.0: First version includes BinaryOperationInTimber, LogNotTimber,
StringFormatInTimber, ThrowableNotAtBeginning, TimberArgCount,
TimberArgTypes, TimberExceptionLogging, TimberTagLength.
(##) Version Compatibility
There are multiple older versions available of this library:
| Version | Date | Issues | Compatible | Compiled | Requires |
|-------------------:|----------|-------:|------------|--------------:|---------:|
| 5.0.1|2021/08/13| 8| Yes| 7.0| 4.0|
| 5.0.0|2021/08/10| 8| Yes| 7.0| 4.0|
| 4.7.1|2018/06/28| 8| Yes| 3.1| 3.1|
| 4.7.0|2018/03/27| 8| Yes| 3.1| 3.1|
| 4.6.1|2018/02/12| 8| Yes| Not specified|Not specified|
| 4.6.0|2017/10/30| 8| Yes| Not specified|Not specified|