Hello Ivan

I'm new to log4php. But I think if someone transfers files to a subfolder, I would recommend this proposal: http://groups.google.com/group/php-standards/web/psr-0-final-proposal . There are some major project like Zend Framework, Symfony, PEAR, Doctrine, CakePHP that are implemented (or going to implement) their structure like mentioned in the proposal.

If you follow the proposal the structure will be look like:

LoggerAppender.php => Appender/Abstract.php -> class abstract class Log4php_Appender_Abstract

But this will be a complete reconstruction of the project.
Not sure if your question was going in this direction. But IMHO I would recommend to follow the proposal someday.

Regards,
Dominic

On 18/09/10 15:08, Ivan Habunek wrote:
I think it may be a good idea to move files with abstract classes and
interfaces to their respective directories.
i.e. move:
- LoggerAppender.php to appenders
- LoggerConfigurator.php to configurators
- LoggerFilter.php to filters
- LoggerLayout.php to layouts

This would make the root directory less cluttered.
What do you say?

Regards,
Ivan

Reply via email to