Gpf_Log_Logger::debug PHP Method

debug() public method

logs debug message
public debug ( string $message, string $logGroup = null )
$message string
$logGroup string
        public function debug($message, $logGroup = null)
        {
            $this->log($message, Gpf_Log::DEBUG, $logGroup);
        }

Usage Example

 protected function execute()
 {
     if ($this->isBlockPending('check')) {
         $this->logger->debug('Check ' . $this->getName());
         $this->checkData();
         $this->setBlockDone();
     }
     if ($this->delete && $this->isBlockPending('delete')) {
         $this->logger->debug('Delete ' . $this->getName());
         $this->deleteData();
         $this->setBlockDone();
     }
     if ($this->isBlockPending('import')) {
         $this->logger->debug('Import ' . $this->getName());
         $this->readData();
         $this->setBlockDone();
     }
 }
All Usage Examples Of Gpf_Log_Logger::debug