Coder Social home page Coder Social logo

Comments (5)

 avatar commented on May 30, 2024

Same issue here... did you find any solution by the time ?

from timber-loggly.

 avatar commented on May 30, 2024

Maybe a workaround is to implement this lib : https://github.com/inrista/loggliest

from timber-loggly.

tony19 avatar tony19 commented on May 30, 2024

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.

 avatar commented on May 30, 2024

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.

ssawchenko avatar ssawchenko commented on May 30, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.