[logback-user] SocketAppender application property

Ralph Goers rgoers at apache.org
Thu Aug 20 16:45:04 CEST 2009


On Aug 20, 2009, at 7:31 AM, Ceki Gulcu wrote:

>
>
> Ralph Goers wrote:
>> Out of curiosity, why does ILoggingEvent reference  
>> LoggerContextVO?  I would have thought you would have created an  
>> interface named ILoggerContext and had the ILoggingEvent interface  
>> reference that instead of a concrete implementation.
>
> LoggerContextVO is a value only version of LoggerContext. These two  
> classes do not share a common interface nor ancestry. (They are just  
> too different.)
>

I think you misunderstood the question. I was wondering why  
ILoggingEvent doesn't reference an ILoggerContext interface (which  
currently doesn't exist). It seems odd for an interface to reference a  
value object.

Ralph



More information about the Logback-user mailing list