From cdc5c3f357eed309ec4affccb40583ed1282d45a Mon Sep 17 00:00:00 2001 From: Ruud Kamphuis Date: Fri, 20 Dec 2013 12:21:52 +0100 Subject: [PATCH] Set Resque_Log in constructor --- lib/Resque/Worker.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/Resque/Worker.php b/lib/Resque/Worker.php index d94aef5..d08504c 100644 --- a/lib/Resque/Worker.php +++ b/lib/Resque/Worker.php @@ -49,6 +49,11 @@ class Resque_Worker */ private $child = null; + public function __construct() + { + $this->logger = new Resque_Log(); + } + /** * Return all workers known to Resque as instantiated instances. * @return array