logd
This commit is contained in:
@@ -32,11 +32,17 @@ class Loan extends BaseController
|
||||
|
||||
$data = $this->request->getPost();
|
||||
|
||||
$json_data =json_encode($data);
|
||||
$serialize_data=serialize($data);
|
||||
try {
|
||||
$json_data =json_encode($data);
|
||||
$serialize_data=serialize($data);
|
||||
//log_message('error', "JSON -->" . $json_data);
|
||||
log_message('error', "BEFORE THE LOG -->");
|
||||
log_message('error', "SERIALIZE -->" . $serialize_data);
|
||||
} catch (Exception $e) {
|
||||
echo 'Caught exception: ', $e->getMessage(), "\n";
|
||||
}
|
||||
|
||||
|
||||
log_message('critical', "JSON -->" . $json_data);
|
||||
log_message('critical', "SERIALIZE -->" . $serialize_data);
|
||||
|
||||
$addedData =[];
|
||||
if (
|
||||
|
||||
Reference in New Issue
Block a user