You are here

public function LoggerInterface::createEntry in Ultimate Cron 8.2

Create a new log entry.

Parameters

string $name: Name of the log entry (name of the job).

string $lock_id: The lock id.

string $init_message: (optional) The initial message for the log entry.

int $log_type: (optional) The log_type for the log entry.

Return value

LogEntry The log entry created.

1 method overrides LoggerInterface::createEntry()
LoggerBase::createEntry in src/Logger/LoggerBase.php
Create a new log entry.

File

src/Logger/LoggerInterface.php, line 48

Class

LoggerInterface
Defines a logger method.

Namespace

Drupal\ultimate_cron\Logger

Code

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