Logging
Introducing Caliburn.Micro.Logging.log4net
·263 words·2 mins
Programming
Logging
Caliburn.Micro
NuGet
Log4net
Continuing my current mission to NuGet-ify my current utility libraries, and building on my Introducing Caliburn.Micro.Logging post, I have now released Caliburn.Micro.Logging.log4net which integrates log4net into Caliburn.Micro. There were no code changes to this from the code in my earlier post How To Do Logging with Caliburn.Micro, so it should be very easy to migrate to the NuGet package.
Introducing Caliburn.Micro.Logging
·530 words·3 mins
Programming
Logging
Caliburn.Micro
NuGet
In the spirit of continuing to NuGet my extensions, I decided to try and create a NuGet package for log4net and nlog. However, I still found my System.Diagnostics.Debug logger to be useful, and did not want to include it twice. This led me to do a quick refactoring of the logging code from How to do Logging with Caliburn.Micro to create a new assembly Caliburn.Micro.Logging which would include the common code between the log4net and nlog loggers. Since I was already touching code, I decided to go a few steps further and add a Trace logger, and formalize some extensions to the ILog interface.