[go: nahoru, domu]

Skip to content

fukata/ci-log4php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

What's this

Integration CodeIgniter(+2.0) and log4php.

Installation

cp -R ci_app [CI Application Directory]
cp -R ci_log4php [CI Application Directory]/application/third_party/

Settings

application/config/log4php.properties

see log4php configuration.

application/config/config.php

do edit log_threshold

$config['log_threshold'] = 0;

do not use log_path

$config['log_path'] = '';

Logging

// CodeIgniter default logging function.
log_message('debug', 'hogehoge');

// Use ci-log4php sugar functions.
$this->load->helper('log4php');
log_error('hogehoge');
log_info('hogehoge');
log_debug('hogehoge');

About

Integration CodeIgniter and log4php

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages