I have an application that uses a base Database class and then each
class extends that. This gives easy database access to all the classes
and insures that proper logging is maintain by all my developers.

 

If I create a new instance of the database class directly the logging
works fine, when I create a new instance of the class that extends my
database class I get an error when access any of the log4php log
methods.

 

I can add the getLogger method to each of the parent classes but this is
less than ideal. Is the a way to make log4php methods available given
the use cases I just outlined?

 

Thanks

 

_______________

Michael F. Sole
ms...@gold-mobile.com

Office: 732.632.8801, ext. 261
Mobile: 516.592.3683

Fax: 732.632.3599

Gold Mobile
www.gold-mobile.com <http://www.gold-mobile.com/>   

Mobile Health Tech Group
www.mobilehealthtech.md <http://www.mobilehealthtech.md/> 

This e-mail and any files transmitted are intended solely for the use of
the individual or entity to whom they are addressed, and for the use of
Gold Mobile.  Any other use is strictly prohibited.

 

Reply via email to