BTW. there’s some news about that topic: My NLog OWIN adapter went “official”
While playing around with OWIN, WebAPI 2 and the other new kids I was missing a logger factory for my favorite logging framework: NLog! And I wouldn’t be a good software engineer if I didn’t wire this up in a nice tiny library.
There you go: Pysco68.Owin.Logging.NLogAdapter on GitHub
And to make it a breeze I built a Nuget package for this one! That means that you can now use NLog as logger for your next OWIN project just by doing this:
Voila! If you’d like to customize the log-level translation table just take a look at the Github page!
Note: this is not a logging middleware! If you want some of those Google is your friend. The log factory (it’s an implementation of Microsoft.Owin.Logging.ILoggerFactory in fact) does provide an implementation of ILogger that wraps arround NLog.There’s some pretty good information about the architecture at Tugber Kugurlu’s blog / introduction to OWIN Logging.
I really hope you enjoy this one! Leave a comment if you have any question or suggestions! Contributions are welcome, just fork and create a pull request, I’ll review it for sure!
Yesterday I showed you my last Christmas present. Now it’s time to show you what I made for me to wear at Christmas. It’s a pretty dress which I saw in the November Burda issue. You can find the pattern as a single pattern here (in German) and here (in English). Continue reading
Hello again! Christmas’ approaching with giant steps and I finally have some free time to write again. After sitting on my desk for a short while, here are the remaining steps for the restoration of the Dual CS 606 record player. For those of you who haven’t read the first part: Dual 606 record player – Restoration (part 1).
In this second part we will focus on getting the electronics up and running again. This involves replacing all the capacitors and checking/cleaning the pots, switches and finally checking solder joins.
Finally I finished my last Christmas present! Another Norwegian sweater in blue and off-white for Yannic. There is no problem blogging it before Christmas, because he sat the most time right next to me while I was knitting. Plus he chose the pattern for the sweater and from time to time he had to try it on. With the yarn left over I made a matching bonnet. It will also be a Christmas present but not for him.