public function getLog($format = TRUE) { return $format ? implode($this->log, PHP_EOL) : $this->log; }