$this->log($this->SystemAccount->getDataSource()->getLog(),debug);
use Cake\Log\Log;
Log::write(‘debug’, print_r(12345, true));
\Cake\Log\Log::write(‘debug’, print_r(12345, true));
・cakephp2
CakeLog::debug(print_r(12345,true));
Just another WordPress site
$this->log($this->SystemAccount->getDataSource()->getLog(),debug);
use Cake\Log\Log;
Log::write(‘debug’, print_r(12345, true));
\Cake\Log\Log::write(‘debug’, print_r(12345, true));
・cakephp2
CakeLog::debug(print_r(12345,true));