<commit_before><?php

namespace Yinx\TreeLogger;

use Illuminate\Support\ServiceProvider;

class TreeLoggerServiceProvider extends ServiceProvider
{
    /**
     * Bootstrap the application events.
     *
     * @return void
     */
    public function boot()
    {
        //
    }

    /**
     * Register the service provider.
     *
     * @return void
     */
    public function register()
    {
        $this->app->singleton('command.yinx.treelogger', function ($app) {
            return $app['Yinx\TreeLogger\Commands\TreeLoggerCommand'];
        });
        $this->commands('command.yinx.treelogger');
    }

    /**
     * Get the services provided by the provider.
     *
     * @return array
     */
    public function provides()
    {
    }
}<commit_msg>Refactoring + pulling the adding and removing of logs apart<commit_after><?php

namespace Yinx\TreeLogger;

use Illuminate\Support\ServiceProvider;

class TreeLoggerServiceProvider extends ServiceProvider
{
    /**
     * Bootstrap the application events.
     *
     * @return void
     */
    public function boot()
    {
        //
    }

    /**
     * Register the service provider.
     *
     * @return void
     */
    public function register()
    {
        $this->app->singleton('command.yinx.treelogger', function ($app) {
            return $app['Yinx\TreeLogger\Commands\TreeLoggerCommand'];
        });
        $this->app->singleton('command.yinx.remove', function ($app) {
            return $app['Yinx\TreeLogger\Commands\RemoveLogsCommand'];
        });
        $this->commands(['command.yinx.treelogger','command.yinx.remove']);
    }

    /**
     * Get the services provided by the provider.
     *
     * @return array
     */
    public function provides()
    {
    }
}
{'fraction_non_alphanumeric': 0.1254256526674234, 'fraction_numerical': 0.0, 'mean_word_length': 2.170863309352518, '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': '649090', 'n_tokens_mistral': 501, 'n_tokens_neox': 502, 'n_words': 103}