examples/004-custom-parser.php
public function parse()
	{
		// get current weather, just for fun
		$data = file_get_contents("http://api.openweathermap.org/data/2.5/weather?zip=420000,ru&units=metric");
		$this->record->formatted = str_replace("{weather}", $data, $this->record->formatted);
		return $this->record;
	}
public function parse()
	{
		// get current weather, just for fun
		$data = file_get_contents("http://api.openweathermap.org/data/2.5/weather?zip=420000,ru&units=metric");
		$this->record->formatted = str_replace("{weather}", $data, $this->record->formatted);
		return $this->record;
	}
public function parse ( ) { // get current weather, just for fun $ data = file_get_contents ( "http://api.openweathermap.org/data/2.5/weather?zip=420000,ru&units=metric" ) ; $ this -> record -> formatted = str_replace ( "{weather}" , $ data , $ this -> record -> formatted ) ; return $ this -> record ; }
Replace macros with useful data

@return \Solo\Logger\LogRecord
Replace macros with useful data