package com.jimandreas.android.designlibdemo

import android.annotation.SuppressLint
import android.app.Application

import com.squareup.leakcanary.LeakCanary

import timber.log.Timber

@SuppressLint("")
class LeakCanaryApplication : Application() {

    override fun onCreate() {
        super.onCreate()
        if (LeakCanary.isInAnalyzerProcess(this)) {
            // This process is dedicated to LeakCanary for heap analysis.
            // You should not init your app in this process.
            return
        }
        LeakCanary.install(this)
        Timber.plant(Timber.DebugTree())
    }
}
