classes/Logging/LoggingProvider.php
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);
	}
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);
	}
{@inheritdoc}