<commit_before><?php
namespace Bab\RabbitMq\Loggers;

use Psr\Log\LoggerInterface;
use Symfony\Component\Console\Output\OutputInterface;

class CliLogger implements LoggerInterface
{
    private
        $output;
    
    public function __construct(OutputInterface $output)
    {
        $this->output = $output;
    }
    
    public function emergency($message, array $context = array())
    {
        $this->log(null, $message);
    }

    public function alert($message, array $context = array())
    {
        $this->log(null, $message);
    }

    public function critical($message, array $context = array())
    {
        $this->log(null, $message);
    }

    public function error($message, array $context = array())
    {
        $this->log(null, $message);
    }

    public function warning($message, array $context = array())
    {
        $this->log(null, $message);
    }

    public function notice($message, array $context = array())
    {
        $this->log(null, $message);
    }

    public function info($message, array $context = array())
    {
        $this->log(null, $message);
    }

    public function debug($message, array $context = array())
    {
        $this->log(null, $message);
    }

    public function log($level, $message, array $context = array())
    {
        $this->output->writeln($message);
    }
}<commit_msg>fix: CliLogger could extends AbstractLogger instead of define all interface method<commit_after><?php
namespace Bab\RabbitMq\Loggers;

use Symfony\Component\Console\Output\OutputInterface;
use Psr\Log\AbstractLogger;

class CliLogger extends AbstractLogger
{
    private
        $output;
    
    public function __construct(OutputInterface $output)
    {
        $this->output = $output;
    }
    
    public function log($level, $message, array $context = array())
    {
        $this->output->writeln($message);
    }
}
{'fraction_non_alphanumeric': 0.13251729643427354, 'fraction_numerical': 0.0, 'mean_word_length': 2.813387423935091, 'pattern_counts': {'":': 0, '<': 5, '<?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': '7234363', 'n_tokens_mistral': 549, 'n_tokens_neox': 536, 'n_words': 128}