Resque\Logger::__construct PHP Method

__construct() public method

Create a Monolog\Logger instance and attach a handler
See also: https://github.com/Seldaek/monolog#handlers Monolog handlers documentation
public __construct ( array $handlers )
$handlers array Array of Monolog handlers
    public function __construct(array $handlers)
    {
        $this->instance = new \Monolog\Logger('resque');
        foreach ($handlers as $handler) {
            $this->instance->pushHandler($handler);
        }
    }