Recommendation for logging API

Topics: Prism v4 - Silverlight 4, Prism v4 - WPF 4
Dec 14, 2010 at 4:54 PM

It appears that Prism does not provide guidance for a logging API. What are people using for logging? I would like to choose an API which allows plugging in different logger implementations.

Thanks.

Naresh

Developer
Dec 14, 2010 at 5:41 PM

Hi Naresh,

You can find examples of the use of logging in Prism in the StockTrader Reference Implementation, as well as some QuickStarts like the Modularity Quickstart.

Also, you can find this article in which there is information about logging in Prism. Prism uses the Facade pattern for logging, so there is an ILoggerFacade interface available in the Prism Library.

I hope you find this helpful.

Guido Leandro Maliandi
http://blogs.southworks.net/gmaliandi

 

Dec 14, 2010 at 10:20 PM

Thanks Guido. I had completely missed the ILoggerFacade in my Prism reading.

BTW, your "this article" link is pointing to the Microsoft.Practices.Prism.Logging namespace. Which article were you trying to show me?

Thanks.

Naresh

Developer
Dec 15, 2010 at 1:17 AM

Hi Naresh,

I intended to show the Microsoft.Practices.Prism.Logging namespace itself, so that you could take a look at the logging infrastructure provided by the Prism Library.

Sorry for the confusing wording.

Guido Leandro Maliandi
http://blogs.southworks.net/gmaliandi