Andreas,

How about using a very basic message handling system, to which users can plug in any bridge (like JCL) or specific implementation (like log4j) of their choosing? On the Commons side, this would mean at most a handful of proprietary classes/interfaces, one to which all messages are routed. Users can subclass/implement that interface to decide what to do with them in their particular context. Commons' own default implementation would simply send the messages to System.out or System.err, thereby removing any dependency on a specific logging framework whatsoever.

What you are describing is exactly commons-logging :). The only addition that commons-logging has is a very sophisticated (and highly criticized) auto-detection mechanism which detects the type of logging framework currently in use and will auto-plugin is specific handler.


Just my 2 cents
Andreas

Max


---------------------------------------------------------------------
Apache XML Graphics Project URL: http://xmlgraphics.apache.org/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to