mirror of
https://github.com/idanoo/php-resque
synced 2025-07-01 13:42:22 +00:00
Set Resque_Log in constructor
This commit is contained in:
parent
610c4dcdbf
commit
cdc5c3f357
1 changed files with 5 additions and 0 deletions
|
@ -49,6 +49,11 @@ class Resque_Worker
|
||||||
*/
|
*/
|
||||||
private $child = null;
|
private $child = null;
|
||||||
|
|
||||||
|
public function __construct()
|
||||||
|
{
|
||||||
|
$this->logger = new Resque_Log();
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Return all workers known to Resque as instantiated instances.
|
* Return all workers known to Resque as instantiated instances.
|
||||||
* @return array
|
* @return array
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue