/**
  * Enable logging
  */
 public function EnableLogging()
 {
     if ($this->log) {
         return;
     }
     $debug = $this->config->GetValue('debug');
     if ($debug) {
         $this->log = GitPHP_DebugLog::GetInstance();
         $this->log->init($debug, $this->config->GetValue('benchmark'));
         $this->log->SetStartTime(GITPHP_START_TIME);
         $this->log->SetStartMemory(GITPHP_START_MEM);
         if ($this->exe) {
             $this->exe->AddObserver($this->log);
         }
         if ($this->projectList) {
             $this->projectList->AddObserver($this->log);
         }
     }
 }