Created
November 12, 2018 09:08
-
-
Save carotkut94/d244f0bc760c6a40c1f2981f6ef86f22 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.death.timberdemo; | |
import android.support.v7.app.AppCompatActivity; | |
import android.os.Bundle; | |
import timber.log.Timber; | |
public class MainActivity extends AppCompatActivity { | |
private static final String TAG = MainActivity.class.getSimpleName(); | |
@Override | |
protected void onCreate(Bundle savedInstanceState) { | |
super.onCreate(savedInstanceState); | |
setContentView(R.layout.activity_main); | |
Timber.e("Error Message"); | |
Timber.d("Debug Message"); | |
Timber.tag("Some Different tag").e("And error message"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment