{$name}(...$arguments); } public static function getInstance(string $name = 'app'): LoggerInterface { return ApplicationContext::getContainer()->get(LoggerFactory::class)->get($name); } }