My silly mistake :-(
Haven't noticed it is derived from ObjectImpl class...

Cheers
________________________
Barak Simon
GED IT Core Platform
190 George St. Sydney, 2000
Phone +61 2 925 85070
Fax      +61 2 925 95050


                                                                                
                                                                        
                      barak.simon+exter                                         
                                                                        
                      [EMAIL PROTECTED]               To:       
[email protected]                                                 
               
                                               cc:                              
                                                                        
                      09/12/2004 15:12         Subject:  No Virtual Destructor 
for LoggingEvent                                                         
                      Please respond to                                         
                                                                        
                      log4cxx-user                                              
                                                                        
                                                                                
                                                                        
                                                                                
                                                                        




Hi,
I need to extend LoggingEvent to set some extra information in it,
but it seems that despite being stated in its doco:
"This class is of concern to those wishing to extend log4cxx",

the destructor is not virtual!

I know that extending it and instantiating it in a customised Logger class will 
break at present the SocketAppender,
but am willing to take that risk, hoping the SocketAppender future 
implementation will have a less strict format.

Is there any chance the next release will virtualise the LoggingEvent 
destructor?

Many thanks,
Barak
________________________
Barak Simon
GED IT Core Platform
Deutsche Bank
190 George St. Sydney, 2000
Phone +61 2 925 85070
Fax      +61 2 925 95050


--

This e-mail may contain confidential and/or privileged information. If you are 
not the intended recipient (or have received this e-mail in error) please 
notify the sender immediately and destroy this e-mail. Any unauthorized 
copying, disclosure or distribution of the material in this e-mail is strictly 
forbidden.







--

This e-mail may contain confidential and/or privileged information. If you are 
not the intended recipient (or have received this e-mail in error) please 
notify the sender immediately and destroy this e-mail. Any unauthorized 
copying, disclosure or distribution of the material in this e-mail is strictly 
forbidden.


Reply via email to