private function writeToFile() {

		$logger = $this -> getLogger();
		$logger -> setDirectory(Path :: get('log-error'));


		$error = $this -> error -> toJson($this -> options['types']);

		if(false === $error) {
			$this -> error -> setContext(null);
			$this -> error -> setBacktrace(null);
		}

		$error = $this -> error -> toJson($this -> options['types']);
		$logger -> write($this -> error -> toJson($this -> options['types']));
	}
private function writeToFile() {

		$logger = $this -> getLogger();
		$logger -> setDirectory(Path :: get('log-error'));


		$error = $this -> error -> toJson($this -> options['types']);

		if(false === $error) {
			$this -> error -> setContext(null);
			$this -> error -> setBacktrace(null);
		}

		$error = $this -> error -> toJson($this -> options['types']);
		$logger -> write($this -> error -> toJson($this -> options['types']));
	}
private function writeToFile ( ) { $ logger = $ this -> getLogger ( ) ; $ logger -> setDirectory ( Path :: get ( 'log-error' ) ) ; $ error = $ this -> error -> toJson ( $ this -> options [ 'types' ] ) ; if ( false === $ error ) { $ this -> error -> setContext ( null ) ; $ this -> error -> setBacktrace ( null ) ; } $ error = $ this -> error -> toJson ( $ this -> options [ 'types' ] ) ; $ logger -> write ( $ this -> error -> toJson ( $ this -> options [ 'types' ] ) ) ; }
Writes current error to log file
Writes current error to log file