Skip to content

Instantly share code, notes, and snippets.

@PondThaitay
Last active February 7, 2017 13:50
Show Gist options
  • Save PondThaitay/353d58dd2e8ab0c09654e002bf4d642c to your computer and use it in GitHub Desktop.
Save PondThaitay/353d58dd2e8ab0c09654e002bf4d642c to your computer and use it in GitHub Desktop.
public class MainActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
Timber.i("I'm %d years old", 22);
Timber.d("GPA : %.2f", 3.56);
Timber.wtf("%s %d %s %s %.2f", "I have ", 2, "cars", " and I have a money ", 1500.00);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment