logPath = $logPath; } /** * */ public function configureNicePayLog4PHP(){ if(!isset($this->appLogger) || !isset($this->eventLogger)){ try { $this->appLogger = new NICELog("DEBUG","application"); if($this->appLogger->StartLog($this->logPath)){ }else{ echo "·Î±× °æ·Î ¼³Á¤ ½ÇÆÐ"; } } catch (Exception $e) { echo "Exception : Log Configuration Error"; } } } public function writeAppLog($string){ $this->appLogger->WriteLog($string); } public function errorAppLog($string){ $this->appLogger->WriteLog($string); } public function warnAppLog($string){ $this->appLogger->WriteLog($string); } public function closeAppLog($string){ $this->appLogger->CloseLog($string); } } ?>