Function __global->task_log

Definitions

sources/tasks.php

  • Do task logging.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$object ?object No No required parameter N/A N/A Task object that the logging comes from (null: N/A)
$message string No No required parameter N/A N/A Message to log
$i ?integer No No Null N/A N/A Iterator position, must be passed for any high frequency calls to this function (null: N/A)
$total ?integer No No Null N/A N/A Total iterating through (null: N/A)

Preview

Code (PHP)

/**
 * Do task logging.
 *
 * @param  ?object $object Task object that the logging comes from (null: N/A)
 * @param  string $message Message to log
 * @param  ?integer $i Iterator position, must be passed for any high frequency calls to this function (null: N/A)
 * @param  ?integer $total Total iterating through (null: N/A)
 */

function task_log(?object $object, string $message, ?int $i = null, ?int $total = null)