package com.anyun.h264;
|
|
import android.app.Application;
|
import timber.log.Timber;
|
|
/**
|
* Application class for initializing Timber logging.
|
*/
|
public class H264Application extends Application {
|
@Override
|
public void onCreate() {
|
super.onCreate();
|
|
// Initialize Timber
|
// if (BuildConfig.DEBUG) {
|
// In debug mode, use both console and file logging
|
Timber.plant(new Timber.DebugTree());
|
Timber.plant(new FileLoggingTree());
|
// } else {
|
// // In release mode, only use file logging
|
// Timber.plant(new FileLoggingTree());
|
// }
|
|
Timber.d("H264Application onCreate - Timber initialized");
|
}
|
}
|