function RulesDebugLog::clearLogs
Clears the logs entries from the storage.
File
-
src/
Logger/ RulesDebugLog.php, line 98
Class
- RulesDebugLog
- Logger that stores Rules debug logs with the session service.
Namespace
Drupal\rules\LoggerCode
public function clearLogs() : void {
$this->session
->remove('rules_debug_log');
}