getContainer()->has(Services::HTTP_KERNEL) && $this->getContainer()->get(Services::HTTP_KERNEL)->isLogFileWritable()) { parent::write($record); } } }