Hi,
>> I also think, that only one instance is needed of LoggerHierarchy.
>
> "Recent log4j releases support multiple hierarchy trees. This
> enhancement allows each virtual host to possess its own copy of the
> logger hierarchy."
> http://logging.apache.org/log4j/1.2/manual.html - NDC section
I
Hello
Apropos:
> I also think, that only one instance is needed of LoggerHierarchy.
I'm too tired to think about this in dept at the moment but coincidently
I just stumbled about the following sentence in the log4j docs:
"Recent log4j releases support multiple hierarchy trees. This
enhancement a
Hi,
please see my other e-mail with refactoring thoughts before a while.
Would like to hear your thoughts about that too, since your mail and
mine is tied together.
I also think, that only one instance is needed of LoggerHierarchy. But
its not necessary to have a singleton() method in LoggerHiera
Hello
Regarding the TODO comment:
class LoggerHierarchy {
...
/* TODO: In log4j is this class not a singleton. Why is it in log4php?
*/
public static function singleton() {
static $instance;
if(!isset($instance)) {