Skip to content

Instantly share code, notes, and snippets.

Last active Jun 21, 2016
What would you like to do?
Android / Log / Timber - print line number on timber logs. source=
public class App extends Application {
public void onCreate() {
Timber.plant(new Timber.DebugTree() {
protected String createStackElementTag(StackTraceElement element) {
return super.createStackElementTag(element) + ":" + element.getLineNumber();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment