You are here

public static function UltimateCronLogger::catchMessagesShutdownWrapper in Ultimate Cron 7.2

Shutdown handler wrapper for catching messages.

Parameters

string $class: The class in question.

File

./ultimate_cron.plugin.inc, line 1268
Plugin framework for Ultimate Cron.

Class

UltimateCronLogger
Abstract class for Ultimate Cron loggers.

Code

public static function catchMessagesShutdownWrapper($class) {
  if ($class::$log_entries) {
    foreach ($class::$log_entries as $log_entry) {
      $log_entry->logger
        ->catchMessagesShutdown($log_entry);
    }
  }
}