<commit_before><?php

namespace alkemann\h2l;

use alkemann\h2l\exceptions\ConfigMissing;

/**
 * Class Log
 *
 * Follows http://www.php-fig.org/psr/psr-3/
 * See https://github.com/php-fig/log
 *
 *
 * @package alkemann\h2l
 * @method static void info() info($message, array $context = []) Log info level
 * @method static void debug() debug($message, array $context = []) Log debug level
 * @method static void notice() notice($message, array $context = []) Log notice level
 * @method static void warning() warning($message, array $context = []) Log warning level
 * @method static void error() error($message, array $context = []) Log error level
 * @method static void critical() critical($message, array $context = []) Log critical level
 * @method static void alert() alert($message, array $context = []) Log alert level
 * @method static void emergency() emergency($message, array $context = []) Log emergency level
 */
class Log
{

    /**
     * Set handlers here, either a callable or an object that implements Psr\Log\LoggerInterface
     * @var array
     */
    protected static $handlers = [];

    /**
     * Add handler, it should implement Psr\Log\LoggerInterface<commit_msg>Simplified @method annotation<commit_after><?php

namespace alkemann\h2l;

use alkemann\h2l\exceptions\ConfigMissing;

/**
 * Class Log
 *
 * Follows http://www.php-fig.org/psr/psr-3/
 * See https://github.com/php-fig/log
 *
 *
 * @package alkemann\h2l
 * @method static void info($message, array $context = []) Log info level
 * @method static void debug($message, array $context = []) Log debug level
 * @method static void notice($message, array $context = []) Log notice level
 * @method static void warning($message, array $context = []) Log warning level
 * @method static void error($message, array $context = []) Log error level
 * @method static void critical($message, array $context = []) Log critical level
 * @method static void alert($message, array $context = []) Log alert level
 * @method static void emergency($message, array $context = []) Log emergency level
 */
class Log
{

    /**
     * Set handlers here, either a callable or an object that implements Psr\Log\LoggerInterface
     * @var array
     */
    protected static $handlers = [];

    /**
     * Add handler, it should implement Psr\Log\LoggerInterface
{'fraction_non_alphanumeric': 0.13267496779733792, 'fraction_numerical': 0.0034349506225848005, 'mean_word_length': 3.8846960167714886, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, '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': '1486287', 'n_tokens_mistral': 667, 'n_tokens_neox': 655, 'n_words': 229}