package com.example.witch.app;

import com.squareup.leakcanary.LeakCanary;
import android.app.Application;

import se.snylt.witch.android.Witch;

public class App extends Application {

    @Override
    public void onCreate() {
        super.onCreate();

        Witch.setLoggingEnabled(true);

        if (LeakCanary.isInAnalyzerProcess(this)) {
            return;
        }

        LeakCanary.install(this);
    }
}