I want to create log specially for Paypal, so how to create and write log. I am using syntax like in controller
$this->log("\n The payment status is completed\n", 'paypal_log');
in bootstrap.php
App::uses('CakeLog', 'Log');
I want to create log specially for Paypal, so how to create and write log. I am using syntax like in controller
$this->log("\n The payment status is completed\n", 'paypal_log');
in bootstrap.php
App::uses('CakeLog', 'Log');
add in bootstrap.php
CakeLog::config('my_log', array('engine' => 'FileLog'));