参考这里ci-log4php,可是调用的确是ci的Log.php,没走My_Log里面的write_log
https://github.com/fukata/ci-log4php
$this->load->helper(‘log4php’);
log_error(‘my_error’);
log_info(‘my_info’);
log_debug(‘my_debug’);
这个helper命名加载的是ci的log
参考这里ci-log4php,可是调用的确是ci的Log.php,没走My_Log里面的write_log
https://github.com/fukata/ci-log4php
$this->load->helper(‘log4php’);
log_error(‘my_error’);
log_info(‘my_info’);
log_debug(‘my_debug’);
这个helper命名加载的是ci的log