You are here

public function WatchdogLogger::unCatchMessages in Ultimate Cron 8.2

End message capturing.

Effectively disables the shutdown function for the given log entry.

Parameters

\Drupal\ultimate_cron\Logger\LogEntry $log_entry: The log entry.

1 call to WatchdogLogger::unCatchMessages()
WatchdogLogger::catchMessagesShutdown in src/Logger/WatchdogLogger.php
Shutdown function callback for a single log entry.

File

src/Logger/WatchdogLogger.php, line 100

Class

WatchdogLogger
Logs events in currently running cronjobs.

Namespace

Drupal\ultimate_cron\Logger

Code

public function unCatchMessages(LogEntry $log_entry) {
  unset($this->logEntries[$log_entry->lid]);
}