public function setLogConfig(LogConfig $logConfig = null) { $this->logConfig = $logConfig; return $this; }