public function getTraceInfo($export = false) { if ($export) { return str_replace(array("\n", ' '), '', var_export($this->trace, true)); } return $this->trace; }