public function __construct(\ThreadedLogger $logger, $id) { $this->logger = $logger; $this->id = $id; }