<commit_before><?php
use Monolog\Handler\GelfHandler;
use MonologModule\Factory\FormatterPluginManagerFactory;
use MonologModule\Factory\HandlerPluginManagerFactory;
use MonologModule\Factory\LoggerAbstractFactory;
use MonologModule\Factory\LoggerFactory;
use MonologModule\Formatter\FormatterPluginManager;
use MonologModule\Handler\Factory\GelfHandlerFactory;
use MonologModule\Handler\HandlerPluginManager;

return [
    'service_manager' => [
        'invokables' => [
            LoggerFactory::class => LoggerFactory::class,
        ],
        'factories' => [
            FormatterPluginManager::class => FormatterPluginManagerFactory::class,
            HandlerPluginManager::class => HandlerPluginManagerFactory::class,
        ],
        'abstract_factories' => [
            LoggerAbstractFactory::class,
        ],
    ],

    'monolog' => [
        'handler_plugin_manager' => [
            'factories' => [
                GelfHandler::class => GelfHandlerFactory::class,
            ],
        ],
        'formatter_plugin_manager' => [],
    ],
];<commit_msg>Uses invokable factory<commit_after><?php
use Monolog\Handler\GelfHandler;
use MonologModule\Factory\FormatterPluginManagerFactory;
use MonologModule\Factory\HandlerPluginManagerFactory;
use MonologModule\Factory\LoggerAbstractFactory;
use MonologModule\Factory\LoggerFactory;
use MonologModule\Formatter\FormatterPluginManager;
use MonologModule\Handler\Factory\GelfHandlerFactory;
use MonologModule\Handler\HandlerPluginManager;
use Zend\ServiceManager\Factory\InvokableFactory;

return [
    'service_manager' => [
        'factories' => [
            FormatterPluginManager::class => FormatterPluginManagerFactory::class,
            HandlerPluginManager::class => HandlerPluginManagerFactory::class,
            LoggerFactory::class => InvokableFactory::class,
        ],
        'abstract_factories' => [
            LoggerAbstractFactory::class,
        ],
    ],

    'monolog' => [
        'handler_plugin_manager' => [
            'factories' => [
                GelfHandler::class => GelfHandlerFactory::class,
            ],
        ],
        'formatter_plugin_manager' => [],
    ],
];
{'fraction_non_alphanumeric': 0.10896551724137932, 'fraction_numerical': 0.0, 'mean_word_length': 3.3174603174603177, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 26, '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': '2098043', 'n_tokens_mistral': 573, 'n_tokens_neox': 561, 'n_words': 73}