protected function _format($type, $message) {
		$key = 'X-Wf-1-1-1-' . $this->_counter++;

		$content = [['Type' => $this->_levels[$type]], $message];
		$content = json_encode($content);
		$content = strlen($content) . '|' . $content . '|';

		return compact('key', 'content');
	}
protected function _format($type, $message) {
		$key = 'X-Wf-1-1-1-' . $this->_counter++;

		$content = [['Type' => $this->_levels[$type]], $message];
		$content = json_encode($content);
		$content = strlen($content) . '|' . $content . '|';

		return compact('key', 'content');
	}
protected function _format ( $ type , $ message ) { $ key = 'X-Wf-1-1-1-' . $ this -> _counter ++ ; $ content = [ [ 'Type' => $ this -> _levels [ $ type ] ] , $ message ] ; $ content = json_encode ( $ content ) ; $ content = strlen ( $ content ) . '|' . $ content . '|' ; return compact ( 'key' , 'content' ) ; }
Generates a string representation of the type and message, suitable for FirePHP.

@param string $type Represents the message priority.
@param string $message Contains the actual message to store.
@return array Returns the encoded string representations of the priority and message, in the
`'key'` and `'content'` keys, respectively.
Generates a string representation of the type and message suitable for FirePHP .