protected static function bindLogger(Application $app): void
    {
        $app->container()->singleton(
            Logger::class,
            new MonologLogger(
                $app->container()->getSingleton(LoggerInterface::class)
            )
        );
    }
protected static function bindLogger(Application $app): void
    {
        $app->container()->singleton(
            Logger::class,
            new MonologLogger(
                $app->container()->getSingleton(LoggerInterface::class)
            )
        );
    }
protected static function bindLogger ( Application $ app ) : void { $ app -> container ( ) -> singleton ( Logger :: class , new MonologLogger ( $ app -> container ( ) -> getSingleton ( LoggerInterface :: class ) ) ) ; }
Bind the logger.

@param Application $app The application

@return void
Bind the logger .