목록Php/Codeigniter (1)
오늘만살자
나만의 로그 남기기
codeigniter 3.x 기준 application/config/config.php 234번 라인$config['log_threshold'] = 5; system/core/Log.php 105번 라인protected $_levels = array('ERROR' => 1, 'DEBUG' => 2, 'INFO' => 3, 'ALL' => 4, 'MYLOG'=>5); 대략 170번 라인쯤if( $this->_levels[$level] _levels[$level]) OR ($this->_levels[$level] > $this->_threshold))&& ! isset($this->_threshold_array[$this..
Php/Codeigniter
2017. 11. 30. 11:46