log4php integration to CI |
[eluser]sramos[/eluser]
Hi all! I made an integration of log4php, im not sure its the best way and wanted some advices and scolds about the thing i did.. I put the apache-log4php-2.0.0-incubating as a library and added a wrapper php library class : Code: <?php I call it on controllers and models as a normal library class and use de logger as the normal way: Code: private $logger; //logger The [code]log4php.properties[code] is under my application folder It works as i expected it to work, but im not sure is the correct way to do it. If someone wants to throw me roses or tomatos its welcome
[eluser]Tudip Technologies[/eluser]
Hi Nani, Please look at this small blog entry with sample code: http://tudip.blogspot.in/2012/05/log4php...niter.html
[eluser]Unknown[/eluser]
for better and clear solution refer the below link http://roomforcreativity.wordpress.com/2...e-igniter/ |
Welcome Guest, Not a member yet? Register Sign In |