webCOMAND

log::log_debug()

Log a debug event to the event log.

Prototype

void log_debug(string $message, mixed $extra = NULL, long $timetamp = NULL)

Parameters

  • message - Message about the event.
  • extra - Optional string, array or other data that corresponds to event.
  • timestamp - Optional Unix timestamp the event occurred, otherwise the current time will be used.

Example

$log->log_debug("Debug event provide technical information for troubleshooting.");

Related

repo::log_debug()