<commit_before><?php

namespace Axn\Illuminate\Foundation\Bootstrap;

use Illuminate\Contracts\Foundation\Application;
use Monolog\Formatter\HtmlFormatter;
use Monolog\Formatter\LineFormatter;
use Monolog\Handler\RotatingFileHandler;
use Monolog\Handler\SwiftMailerHandler;
use Monolog\Logger;
use Monolog\Processor\IntrospectionProcessor;
use Monolog\Processor\MemoryUsageProcessor;
use Monolog\Processor\MemoryPeakUsageProcessor;
use Monolog\Processor\PsrLogMessageProcessor;
use Monolog\Processor\WebProcessor;

class ConfigureLogging
{
    protected $app;

    protected $config;

    protected $logger;

    public function __construct(Application $app)
    {
        $this->app = $app;

        $this->config = $app->make('config')->get('logging');
    }

    /**
     * Entry point for the Monolog Configuration.
     *
     * @param Logger $monolog
     */
    public function configure(Logger $monolog)<commit_msg>use switf classes<commit_after><?php

namespace Axn\Illuminate\Foundation\Bootstrap;

use Illuminate\Contracts\Foundation\Application;
use Monolog\Formatter\HtmlFormatter;
use Monolog\Formatter\LineFormatter;
use Monolog\Handler\RotatingFileHandler;
use Monolog\Handler\SwiftMailerHandler;
use Monolog\Logger;
use Monolog\Processor\IntrospectionProcessor;
use Monolog\Processor\MemoryUsageProcessor;
use Monolog\Processor\MemoryPeakUsageProcessor;
use Monolog\Processor\PsrLogMessageProcessor;
use Monolog\Processor\WebProcessor;
use Swift_Mailer;
use Swift_Message;

class ConfigureLogging
{
    protected $app;

    protected $config;

    protected $logger;

    public function __construct(Application $app)
    {
        $this->app = $app;

        $this->config = $app->make('config')->get('logging');
    }

    /**
     * Entry point for the Monolog Configuration.
     *
     * @param Logger $monolog
     */
    public function configure(Logger $monolog)
{'fraction_non_alphanumeric': 0.0985691573926868, 'fraction_numerical': 0.0, 'mean_word_length': 4.409742120343839, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 11, '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': '244478', 'n_tokens_mistral': 544, 'n_tokens_neox': 537, 'n_words': 113}