xmlgraphics-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Max Berger <...@berger.name>
Subject Re: FOP's new image package in Commons?
Date Sun, 16 Dec 2007 09:25:37 GMT

> 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


Apache XML Graphics Project URL: http://xmlgraphics.apache.org/
To unsubscribe, e-mail: general-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: general-help@xmlgraphics.apache.org

View raw message