<commit_before>package name.abuchen.portfolio.ui;

import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.Platform;
import org.eclipse.ui.plugin.AbstractUIPlugin;
import org.osgi.framework.FrameworkUtil;

public class PortfolioPlugin extends AbstractUIPlugin
{
    public static final String PLUGIN_IN = "name.abuchen.portfolio.ui"; //$NON-NLS-1$

    public static final void log(IStatus status)
    {
        Platform.getLog(FrameworkUtil.getBundle(PortfolioPlugin.class)).log(status);
    }

}<commit_msg>Log throwable method in PortfolioPlugin<commit_after>package name.abuchen.portfolio.ui;

import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.Platform;
import org.eclipse.core.runtime.Status;
import org.eclipse.ui.plugin.AbstractUIPlugin;
import org.osgi.framework.FrameworkUtil;

public class PortfolioPlugin extends AbstractUIPlugin
{
    public static final String PLUGIN_IN = "name.abuchen.portfolio.ui"; //$NON-NLS-1$

    public static final void log(IStatus status)
    {
        Platform.getLog(FrameworkUtil.getBundle(PortfolioPlugin.class)).log(status);
    }

    public static void log(Throwable t)
    {
        log(new Status(Status.ERROR, PLUGIN_IN, t.getMessage(), t));
    }

}
{'fraction_non_alphanumeric': 0.10725806451612903, 'fraction_numerical': 0.0016129032258064516, 'mean_word_length': 4.491150442477876, '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': '19466', 'n_tokens_mistral': 387, 'n_tokens_neox': 391, 'n_words': 74}