任意のログファイルにログを出力する時のメモ。
app/Config/bootstrap.php
define('DEBUG_LOG', 'debug_log'); CakeLog::config('debug_log', array( 'engine' => 'FileLog', 'types' => array('debug_log'), 'file' => 'debug_log', ));
$this->log($debug, DEBUG_LOG);
任意のログファイルにログを出力する時のメモ。
app/Config/bootstrap.php
define('DEBUG_LOG', 'debug_log'); CakeLog::config('debug_log', array( 'engine' => 'FileLog', 'types' => array('debug_log'), 'file' => 'debug_log', ));
$this->log($debug, DEBUG_LOG);