bastienpaulfr / Treessence

Some trees for Timber lib
Apache License 2.0
99 stars 10 forks source link

Error planting SystemLogTree #17

Open bloworlf opened 1 year ago

bloworlf commented 1 year ago

I'm trying to log elements to a txt file (which works perfectly) and also to my IDE logcat. But I cannot plant the SystemLogTree.

WhatsApp Image 2023-01-26 at 09 47 22

Mixermachine commented 1 year ago

hi @bloworlf This is caused by Timber version 5.0.x Related issue there: https://github.com/JakeWharton/timber/issues/484

You can temporarily solve this by downgrading the timber version (5.0.x features are of course not available). You need to exclude Timber from Treessence and include Timber version 4.7.1 manually.

implementation 'com.jakewharton.timber:timber:4.7.1'
implementation('com.github.bastienpaulfr:Treessence:1.1.2') {
    exclude group: 'com.jakewharton.timber', module: 'timber'
    // fixes not usable timber lib with version 5.x
}