<commit_before>/*
 * Author:  <NAME> <<EMAIL>>
 *
 * Copyright (c) 2011 <NAME> <<EMAIL>>, all rights reserved
 *
 * Publishing, providing further or using of this program is prohibited
 * without previous written permission of author. Publishing or providing further
 * of the contents of this file is prohibited without previous written permission
 * of the author.
 */
package fape.util;

//import fape.core.planning.Planner;

import fape.core.planning.Planner;
import fape.core.planning.states.Printer;
import fape.core.planning.states.State;
import fape.exceptions.FAPEException;

import java.util.regex.Pattern;

/**
 *
 * @author <NAME>
 */
public class TinyLogger {

    public static void LogInfo(State st, String toFormat, Object... objects) {
        if(!Planner.logging)
            return;

        String inFormating = toFormat;

        String[] printables = new String[objects.length];
        for(int i=0 ; i<objects.length ; i++) {
            printables[i] = Printer.stateDependentPrint(st, objects[i]);<commit_msg>Fix compilation warning in TinyLogger<commit_after>/*
 * Author:  <NAME> <<EMAIL>>
 *
 * Copyright (c) 2011 <NAME> <<EMAIL>>, all rights reserved
 *
 * Publishing, providing further or using of this program is prohibited
 * without previous written permission of author. Publishing or providing further
 * of the contents of this file is prohibited without previous written permission
 * of the author.
 */
package fape.util;

//import fape.core.planning.Planner;

import fape.core.planning.Planner;
import fape.core.planning.states.Printer;
import fape.core.planning.states.State;
import fape.exceptions.FAPEException;

import java.util.regex.Pattern;

/**
 *
 * @author <NAME>
 */
public class TinyLogger {

    public static void LogInfo(State st, String toFormat, Object... objects) {
        if(!Planner.logging)
            return;

        String inFormating = toFormat;

        Object[] printables = new Object[objects.length];
        for(int i=0 ; i<objects.length ; i++) {
            printables[i] = Printer.stateDependentPrint(st, objects[i]);
{'fraction_non_alphanumeric': 0.11100478468899522, 'fraction_numerical': 0.004784688995215311, 'mean_word_length': 3.575492341356674, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 17, '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': '814489', 'n_tokens_mistral': 619, 'n_tokens_neox': 597, 'n_words': 185}