You are here

public function CronJobInterface::startLog in Ultimate Cron 8.2

Start logging.

Parameters

string $lock_id: The lock id to use.

string $init_message: Initial message for the log.

Return value

\Drupal\ultimate_cron\Logger\LogEntry The log object.

1 method overrides CronJobInterface::startLog()
CronJob::startLog in src/Entity/CronJob.php
Start logging.

File

src/CronJobInterface.php, line 274

Class

CronJobInterface

Namespace

Drupal\ultimate_cron

Code

public function startLog($lock_id, $init_message = '', $log_type = ULTIMATE_CRON_LOG_TYPE_NORMAL);