<commit_before>package com.rhomobile.rhodes.extmanager;

public class RhoExtManager extends Object {

    private static RhoExtManagerImpl ourRhoExtManager = null;

    public static RhoExtManagerImpl getImplementationInstance() {
        if (ourRhoExtManager == null) {
            ourRhoExtManager = new RhoExtManagerImpl();
        }
        return ourRhoExtManager;
    }

    public static IRhoExtManager getInstance() {
        return getImplementationInstance();
    }

}<commit_msg>Android: Provide common convenient way to print messages to rhodes log for extensions<commit_after>package com.rhomobile.rhodes.extmanager;

import com.rhomobile.rhodes.Logger;

public class RhoExtManager extends Object {
    private static RhoExtManagerImpl ourRhoExtManager = null;

    public static RhoExtManagerImpl getImplementationInstance() {
        if (ourRhoExtManager == null) {
            ourRhoExtManager = new RhoExtManagerImpl();
        }
        return ourRhoExtManager;
    }

    /**
     * @return IRhoExtManager instance
     */
    public static IRhoExtManager getInstance() {
        return getImplementationInstance();
    }

    /**
     * Convenient way to print trace message to rhodes log
     * @param tag - log source
     * @param msg - log message
     */
    public static void logT(String tag, String msg) {
        Logger.T(tag, msg);
    }

    /**
     * Convenient way to print info message to rhodes log
     * @param tag - log source
     * @param msg - log message
     */
    public static void logI(String tag, String msg) {
        Logger.I(tag, msg);
    }

    /**
     * Convenient way to print warning message to rhodes log
     * @param tag - log source
     * @param msg - log message
     */
    public static void logW(String tag, String msg) {
        Logger.W(tag, msg);
    }

    /**
     * Convenient way to print error message to rhodes log
     * @param tag - log source
     * @param msg - log message
     */
    public static void logE(String tag, String msg) {
        Logger.E(tag, msg);
    }

}
{'fraction_non_alphanumeric': 0.08089668615984405, 'fraction_numerical': 0.0, 'mean_word_length': 2.491496598639456, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '536528', 'n_tokens_mistral': 589, 'n_tokens_neox': 570, 'n_words': 181}