<commit_before>package com.charlesmadere.hummingbird;

import android.app.Application;

import com.charlesmadere.hummingbird.misc.Timber;
import com.facebook.drawee.backends.pipeline.Fresco;

public class Hummingbird extends Application {

    private static final String TAG = "Hummingbird";

    private static Hummingbird sInstance;


    public static Hummingbird get() {
        return sInstance;
    }

    @Override
    public void onCreate() {
        super.onCreate();
        sInstance = this;
        Timber.d(TAG, "Application created");
        Fresco.initialize(this);
    }

    @Override
    public void onTrimMemory(final int level) {
        super.onTrimMemory(level);

        if (level >= TRIM_MEMORY_BACKGROUND) {
            Fresco.getImagePipeline().clearMemoryCaches();
            Timber.clearEntries();
        }

        Timber.d(TAG, "onTrimMemory(): " + level);
    }

}<commit_msg>we now log if we're running in debug or not<commit_after>package com.charlesmadere.hummingbird;

import android.app.Application;

import com.charlesmadere.hummingbird.misc.Timber;
import com.facebook.drawee.backends.pipeline.Fresco;

public class Hummingbird extends Application {

    private static final String TAG = "Hummingbird";

    private static Hummingbird sInstance;


    public static Hummingbird get() {
        return sInstance;
    }

    @Override
    public void onCreate() {
        super.onCreate();
        sInstance = this;
        Timber.d(TAG, "Application created (debug: " + BuildConfig.DEBUG + ')');
        Fresco.initialize(this);
    }

    @Override
    public void onTrimMemory(final int level) {
        super.onTrimMemory(level);

        if (level >= TRIM_MEMORY_BACKGROUND) {
            Fresco.getImagePipeline().clearMemoryCaches();
            Timber.clearEntries();
        }

        Timber.d(TAG, "onTrimMemory(): " + level);
    }

}
{'fraction_non_alphanumeric': 0.10121886592474828, 'fraction_numerical': 0.0, 'mean_word_length': 2.8296146044624746, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2406320', 'n_tokens_mistral': 583, 'n_tokens_neox': 548, 'n_words': 121}