lg XpayClient 로그 기록 남지 않도록 수정
This commit is contained in:
@ -604,6 +604,10 @@ class XPayClient
|
||||
|
||||
function Log($msg, $level=LGD_LOG_FATAL)
|
||||
{
|
||||
if( !(defined('LGD_LOG_SAVE') && LGD_LOG_SAVE) ){
|
||||
return;
|
||||
}
|
||||
|
||||
if ($level > $this->config["log_level"])
|
||||
return;
|
||||
$err_msg = date("Y-m-d H:i:s")." [".$this->err_label[$level]."] [".$this->TX_ID."] ".$msg."\n";
|
||||
|
||||
@ -602,6 +602,10 @@ class XPayClient
|
||||
|
||||
function Log($msg, $level=LGD_LOG_FATAL)
|
||||
{
|
||||
if( !(defined('LGD_LOG_SAVE') && LGD_LOG_SAVE) ){
|
||||
return;
|
||||
}
|
||||
|
||||
if ($level > $this->config["log_level"])
|
||||
return;
|
||||
$err_msg = date("Y-m-d H:i:s")." [".$this->err_label[$level]."] [".$this->TX_ID."] ".$msg."\n";
|
||||
|
||||
Reference in New Issue
Block a user