Comments (5)
Same issue here... did you find any solution by the time ?
from timber-loggly.
Maybe a workaround is to implement this lib : https://github.com/inrista/loggliest
from timber-loggly.
I believe this is caused by loggly-client's dependency on com.jakewharton.timber:timber
, which turns out to be unnecessary for that library. The current workaround is to exclude it in your app's build.gradle as follows:
dependencies {
compile ('com.github.tony19:timber-loggly:1.0.1') {
exclude group:'com.jakewharton.timber', module:'timber'
}
}
from timber-loggly.
You're right, no more error with this fix ! Thanks a lot !
However please note :
With this method, we consider importing Timber on a separate import statement.
But there is a side-effect : Timber.plant(new LogglyTree(LOGGLY_TOKEN)); does not work anymore...
The fix : removing the exclude method as mentionned in tony19's answer, and removing the Timber separate import (as it will be imported with timber-loggly)... Then now it works... but you will lose all the Timber subclasses you may have done before...
from timber-loggly.
I am also still seeing the above issue where I can no longer use LogglyTree when I exclude the timber module. Any chance of this library being updated to support newer Timber versions?
from timber-loggly.
Related Issues (12)
- Cannot send custom tags to Loggly HOT 3
- Cannot resolve method plant
- Maven central build
- W/System.err: LogglyTree failed: null
- Support for newer Timber HOT 1
- Cached Log
- Move to https
- Bulk Support HOT 2
- Crash on app start with timber-loggly:1.0.1 HOT 3
- upgrade to use retrofit2 HOT 1
- Handle unintentional interpretation of "%..." string contents as formatters. HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from timber-loggly.