public function add($type, $logLevel) { if ($type == Gpf_Log_LoggerDisplay::TYPE) { $this->logToDisplay = true; } return $this->addLogger($this->create($type), $logLevel); }
public function __construct() { $this->logger = Gpf_Log_Logger::getInstance(); $this->logger->add(Gpf_Log_LoggerDatabase::TYPE, Gpf_Log::DEBUG); $this->outputMessage = ''; $this->importedLinesCount = 0; $this->wrongLinesCount = 0; }