<commit_before><?php
/**
 * A dummy logger, used when log4php is not available. It's a facade.
 *
 * PHP Version 5
 *
 * @category Pagi
 * @package  Logger
 * @author   <NAME> <<EMAIL>>
 * @license  http://www.noneyet.ar/ Apache License 2.0
 * @version  SVN: $Id$
 * @link     http://www.noneyet.ar/
 *
 * Copyright 2011 <NAME> <<EMAIL>>
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 */

/**
 * A dummy logger, used when log4php is not available. It's a facade.
 *
 * PHP Version 5
 *
 * @category Pagi
 * @package  Logger
 * @author   <NAME> <<EMAIL>>
 * @license  http://www.noneyet.ar/ Apache License 2.0
 * @link     http://www.noneyet.ar/
 */
final class Logger
{
    /**
     * Holds our instance.
     * @var Logger
     */
    private static $_instance = false;

    /**
     * Returns a logger.
     *
     * @param mixed $options
     *
     * @return Logger
     */
    public final static function getLogger($options)
    {
        if (self::$_instance === false) {
            $ret = new Logger();
            self::$_instance = $ret;
        } else {
            $ret = self::$_instance;
        }
        return $ret;
    }

    /**
     * Dummy configuration.
     *
     * @param mixed $options
     *
     * @return void
     */
    public final static function configure($options)
    {
    }

    /**
     * Dummy is debug enabled?
     *
     * @return false
     */
    public final function isDebugEnabled()
    {
        return false;
    }

    /**
     * Dummy constructor.
     *
     * @return void
     */
    protected final function __construct()
    {

    }
}<commit_msg>added check for already defined class \Logger<commit_after><?php
/**
 * A dummy logger, used when log4php is not available. It's a facade.
 *
 * PHP Version 5
 *
 * @category Pagi
 * @package  Logger
 * @author   <NAME> <<EMAIL>>
 * @license  http://www.noneyet.ar/ Apache License 2.0
 * @version  SVN: $Id$
 * @link     http://www.noneyet.ar/
 *
 * Copyright 2011 <NAME> <<EMAIL>>
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 */
if (!class_exists('\Logger')) {
/**
 * A dummy logger, used when log4php is not available. It's a facade.
 *
 * PHP Version 5
 *
 * @category Pagi
 * @package  Logger
 * @author   <NAME> <<EMAIL>>
 * @license  http://www.noneyet.ar/ Apache License 2.0
 * @link     http://www.noneyet.ar/
 */
final class Logger
{
    /**
     * Holds our instance.
     * @var Logger
     */
    private static $_instance = false;

    /**
     * Returns a logger.
     *
     * @param mixed $options
     *
     * @return Logger
     */
    public final static function getLogger($options)
    {
        if (self::$_instance === false) {
            $ret = new Logger();
            self::$_instance = $ret;
        } else {
            $ret = self::$_instance;
        }
        return $ret;
    }

    /**
     * Dummy configuration.
     *
     * @param mixed $options
     *
     * @return void
     */
    public final static function configure($options)
    {
    }

    /**
     * Dummy is debug enabled?
     *
     * @return false
     */
    public final function isDebugEnabled()
    {
        return false;
    }

    /**
     * Dummy constructor.
     *
     * @return void
     */
    protected final function __construct()
    {

    }
}
}
{'fraction_non_alphanumeric': 0.11916376306620209, 'fraction_numerical': 0.00743321718931475, 'mean_word_length': 2.138483965014577, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 21, 'https://': 0, 'lorem ipsum': 0, 'www.': 10, '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': '3925547', 'n_tokens_mistral': 1297, 'n_tokens_neox': 1266, 'n_words': 436}