Hi Florian, On 2 January 2012 16:07, Florian Semm <[email protected]> wrote: > That's a good point and it isn't much work. > > Do we need the $_classes array or is a naming-conversion for the classes > (PEAR/Zend) an alternative solution?
I'm not a fan of the PEAR naming convention (and neither is Christian). Anyway, we would rather not change the naming convention at this point in time. It's a lot of work and does not contribute much to the code base. The long-term plan is to start using namespaces at some time in the future. At that point we will re-think the whole naming convention. The problem is that namespaces would make log4php incompatible with PHP < 5.3 so this is currently not acceptable because a majority of people is still using 5.2 (I blame the hosting firms). By using namespaces we could rename LoggerLayoutPattern to \apache\log4php\layouts\PatternLayout, or something similar. This would make everything nicer, and we can write a generic autoload method instead of having the classes array. > btw: happy new year ;) To you too! :-) Ivan
