Questions tagged [timber-android]

Timber is an Android logging library created by Jake Wharton.

51 questions
0
votes
0 answers

What StackTraceElements does "new Throwable().getStackTrace()" return?

The reason i ask what StackTraceElements are returned by new Throwable().getStackTrace() returns is because Timber#getTag method assumes that the 6th StackTraceElement is source of the log... e.g: new Throwable().getStackTrace()[5] == MainFragment…
McKabue
  • 2,076
  • 1
  • 19
  • 34
0
votes
0 answers

Gradle excluding a .jar library

I have a library say abc.aar, this includes timber.jar in its lib. This timber is Version - 2.5.1 Library abc is developed by a different team, and I cannot modify that. :-( I am developing another library which has a dependency on abc.aar. I need…
subair_a
  • 1,028
  • 2
  • 14
  • 19
0
votes
2 answers

My Activities and Fragments seem to be running methods twice after modifying their launchMode

I recently modified my project so I could handle a "Login task" which consists of a single activity, and a "Main task" which comprises all other activities. I did this via the Manifest:
Chisko
  • 3,092
  • 6
  • 27
  • 45
0
votes
1 answer

Timber package doesn't exist Error when generating signed apk and proguard is activated

I'm trying to generate a signed apk with android studio, it gives me these errors Error:(59, 18) error: package timber.log does not exist Error:(27, 23) error: package okhttp3.logging does not exist in my application class I define Timber as…
Mohamed Ibrahim
  • 3,714
  • 2
  • 22
  • 44
-1
votes
2 answers

Why Timber log produces the log messages twice once the activity restart its lifecycle in Android?

During the development of my Android project, I encountered the encouraged use of the Timber log library; but when I switched to using it, I found that once the activity in which I place Timber.plant(new Timber.DebugTree()); restarts its lifecycle…
-2
votes
2 answers

PROGUARD LESS SOLUTION NEEDED : Remove all LOGS in RELEASE BUILD automatically. ANY 3 rd party LIBRARY is there?

I am in a strange issue in a project I am working on. My Issues : I have lots of Log.e, Log.i, Log.d I need to remove it in release build I am not willing to remove all logs manually because its a big headache Why I am positing this question : Is…
Raghul Sugathan
  • 350
  • 1
  • 7
  • 22
1 2 3
4