Design question [Logging application block] - MsmqTraceListener

Topics: Logging Application Block
Mar 4, 2014 at 10:42 AM
Edited Mar 11, 2014 at 6:53 AM
Hi folks,

I was doing a code walk through in Logging application block code. I have got a design doubt regarding MsmqTraceListener.

Why only MsmqTraceListener class has related interfaces and factories, IMsmqSendInterface, IMsmqSendInterfaceFactory, MsmqSendInterface, MsmqSendInterfaceFactory. Why not other trace listeners like FlatFile, Email, XML etc doesn't have any.

Care to explain why MSMQTraceListener is designed in this way. Is there any obvious reason?