[email protected]
[Top] [All Lists]

Re: Recommended usage for OO

Subject: Re: Recommended usage for OO
From: Knut Urdalen
Date: Sun, 22 Jul 2007 22:15:03 +0200
Ondra Medek wrote:
This is fine, when I use virtual methods, but I cannot use it in the
static methods. How do you use Log4PHP in your projects?
Get the logger within the static method.

class B extends A {
 public static function someStaticFunction() {
   $debug = LoggerManager::getLogger('example');

BTW. You have also some broken links at your page
Thanks! :)

Knut Urdalen

<Prev in Thread] Current Thread [Next in Thread>