getLanguageService()->sL( 'LLL:EXT:adminpanel/Resources/Private/Language/locallang_debug.xlf:module.label' ); } public function getShortInfo(): string { $errorsAndWarnings = array_filter(InMemoryLogWriter::$log, function (LogRecord $entry) { return LogLevel::normalizeLevel($entry->getLevel()) <= 4; }); return sprintf($this->getLanguageService()->sL( 'LLL:EXT:adminpanel/Resources/Private/Language/locallang_debug.xlf:module.shortinfo' ), count($errorsAndWarnings)); } }