CI简介
CodeIgniter 是一套给 PHP 网站开发者使用的应用程序开发框架和工具包。它的目标是让你能够更快速的开发,它提供了日常任务中所需的大量类库,以及简单的接口和逻辑结构。通过减少代码量,CodeIgniter 让你更加专注于你的创造性工作。
CodeIgniter 将尽可能的保持其灵活性,以允许你以喜欢的方式工作,而不是被迫以其它方式工作。框架可以轻松扩展或替换核心部件,使系统按你期望的方式工作。简而言之,CodeIgniter 是一个可扩展的框架,它试图提供你所需的工具,同时让你避免踩坑。
log_threshold配置
log_threshold是关于日志级别的配置,下面是CI 3应用配置文件中关于log_threshold配置的注释:
/*
|--------------------------------------------------------------------------
| error logging threshold
|--------------------------------------------------------------------------
|
| you can enable error logging by setting a threshold over zero. the
| threshold determines what gets logged. threshold options are:
|
| 0 = disables logging, error logging turned off
| 1 = error messages (including php errors)
| 2 = debug messages
| 3 = informational messages
| 4 = all