You are here

public function BackgroundProcess::logDebug in Background Process 7.2

Log a debug message.

Parameters

$msg: Message to log.

15 calls to BackgroundProcess::logDebug()
BackgroundProcess::claim in ./background_process.inc
Claim process. Before executing the callback, make sure no one else is doing it.
BackgroundProcess::detach in ./background_process.inc
Use blocking style request, and instruct the subrequests to detach asap.
BackgroundProcess::dispatch in ./background_process.inc
Launch the process
BackgroundProcess::doKeepAlive in ./background_process.inc
Re-launch the process if necessary
BackgroundProcess::ensureCleanup in ./background_process.inc
Make sure we clean up after ourselves.

... See full list

File

./background_process.inc, line 838
External API short overview

Class

BackgroundProcess
@file

Code

public function logDebug($msg) {
  if ($this->debug) {
    error_log(getmypid() . ' - ' . request_uri() . " - {$this->pid} : {$this->handle} - " . $msg);
  }
}