protected static function bindLoggerInterface(Application $app): void
    {
        $handler = new StreamHandler(
            $app->config()['logger']['filePath'],
            LogLevel::DEBUG
        );

        $app->container()->singleton(
            LoggerInterface::class,
            new Monolog(
                $app->config()['logger']['name'],
                [
                    $handler,
                ]
            )
        );
    }