Comments (3)
Huh. Will take a look.
from timber.
I do not see this behavior. Please provide the version of Timber and the version of Android on which you see this.
MainActivity D {
D }
D {
D }
from timber.
I did some more testing and it happens on both a Moto E with 5.1 and on a Nexus 5 with the latest Marshmallow.
However, it seems that the issue is not in Timber at all.
For this code:
Timber.d("{\n\n}");
Timber.d("{\n}");
Log.d("test", "{\n\n}");
Log.d("test", "{\n}");
Android Studio shows the following log:
D/SplashActivity: {
D/SplashActivity: {
}
D/test: {
D/test: {
}
and adb logcat shows this:
11-25 09:22:19.011 20030 20030 D SplashActivity: {
11-25 09:22:19.011 20030 20030 D SplashActivity:
11-25 09:22:19.011 20030 20030 D SplashActivity: }
11-25 09:22:19.011 20030 20030 D SplashActivity: {
11-25 09:22:19.011 20030 20030 D SplashActivity: }
11-25 09:22:19.011 20030 20030 D test : {
11-25 09:22:19.011 20030 20030 D test :
11-25 09:22:19.011 20030 20030 D test : }
11-25 09:22:19.011 20030 20030 D test : {
11-25 09:22:19.011 20030 20030 D test : }
So it looks like the only problem lies in how Android Studio shows the log.
Sorry for the false alarm, will open an issue at the appropriate project.
from timber.
Related Issues (20)
- Documentation request: Instructions for replacing log4j in any Java application
- Could not resolve com.jakewharton.timber:timber:5.0.1. HOT 5
- Cannot resolve method 'plant(timber.log.Timber.DebugTree)' HOT 12
- Can this log without blocking the calling thread? HOT 1
- Using 'Log' instead of 'Timber'
- Lint does not warn if format specifier missing
- š Iād like to add this to the ReadMe Documentation.
- Is it possible to make isLoggable() function public?
- Escape percent symbol? HOT 2
- Is there an MDC like logback? HOT 1
- Getting a parse error when using file logging
- Timber logs not showing in Android Studio Dolphin 2021.3.1 HOT 3
- Want to bypass Lint warning BinaryOperationInTimber HOT 2
- Could not load custom lint check jar
- Make Tree:tag protected instead of internal HOT 4
- Where are the priority codes? HOT 3
- Activo
- Still `new Timber.DebugTree()` cannot be coded in Java HOT 10
- Distribution as a jar artifact HOT 2
- Gftrlgxsi
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.