在Idea框架中,没有内置很强大日志处理工具,只是将PHP错误日志简单的写入到指定的文件中,日志文件路径配置在application/config/Config.php下面
application/config/Config.php
/** 'display_errors' => false, * 该项仅在(display_errors = false)条件下有效 * php错误写到日志文件 */ 'error_log_file' => APP_PATH . 'log/php.error.log',