You are here

protected function PuSHSubscriber::log in Feeds 7

Same name and namespace in other branches
  1. 6 libraries/PuSHSubscriber.inc \PuSHSubscriber::log()
  2. 7.2 libraries/PuSHSubscriber.inc \PuSHSubscriber::log()

Helper for logging.

3 calls to PuSHSubscriber::log()
PuSHSubscriber::receive in libraries/PuSHSubscriber.inc
Receive a notification.
PuSHSubscriber::request in libraries/PuSHSubscriber.inc
Issue a subscribe or unsubcribe request to a PubsubHubbub hub.
PuSHSubscriber::verifyRequest in libraries/PuSHSubscriber.inc
Verify a request. After a hub has received a subscribe or unsubscribe request (see PuSHSubscriber::request()) it sends back a challenge verifying that an action indeed was requested ($_GET['hub_challenge']). This method handles the challenge.

File

libraries/PuSHSubscriber.inc, line 308
Pubsubhubbub subscriber library.

Class

PuSHSubscriber
PubSubHubbub subscriber.

Code

protected function log($msg, $level = 'status') {
  $this->env
    ->log("{$this->domain}:{$this->subscriber_id}\t{$msg}", $level);
}