Autarky\Logging\LoggingProvider::register PHP Method

register() public method

public register ( )
    public function register()
    {
        $dic = $this->app->getContainer();
        $dic->define('Autarky\\Logging\\ChannelManager', function () {
            return new ChannelManager();
        });
        $dic->share('Autarky\\Logging\\ChannelManager');
        $factory = new Definition(['Autarky\\Logging\\ChannelManager', 'getChannel']);
        $factory->addScalarArgument('$channel', 'string', false, null);
        $dic->define('Psr\\Log\\LoggerInterface', $factory);
    }
LoggingProvider