public function log($repString, $message) { $rep = FirePHP_Rep::factory($repString); $rep->setData($message); // Check if the representation should actually be displayed if (!$rep->shouldDisplay()) { return false; } foreach ($this->_bootstrap->getClients() as $client) { $client->log($rep); } return true; }
public function log(FirePHP_Rep $rep) { echo $rep->toString() . "\n"; }