<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Logging with Ninject</title>
	<atom:link href="http://mhinze.com/logging-with-ninject/feed/" rel="self" type="application/rss+xml" />
	<link>http://mhinze.com/logging-with-ninject/</link>
	<description>Matt Hinze, learning in public</description>
	<lastBuildDate>Fri, 26 Feb 2010 17:28:00 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: David Wainwright</title>
		<link>http://mhinze.com/logging-with-ninject/comment-page-1/#comment-445</link>
		<dc:creator>David Wainwright</dc:creator>
		<pubDate>Thu, 29 Oct 2009 10:36:14 +0000</pubDate>
		<guid isPermaLink="false">http://mhinze.com/?p=10#comment-445</guid>
		<description>Hi,

Thanks for that. How would I bind to a specific, named logger in the config file? Your example uses the root logger only.

Regards

Dave</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Thanks for that. How would I bind to a specific, named logger in the config file? Your example uses the root logger only.</p>
<p>Regards</p>
<p>Dave</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: PandaWood</title>
		<link>http://mhinze.com/logging-with-ninject/comment-page-1/#comment-322</link>
		<dc:creator>PandaWood</dc:creator>
		<pubDate>Sat, 13 Jun 2009 03:53:17 +0000</pubDate>
		<guid isPermaLink="false">http://mhinze.com/?p=10#comment-322</guid>
		<description>Thanks for this.

I&#039;m wondering, you&#039;ve got 10 lines of code, just to create a Logger property.

Could you just create a C#3 auto-property, and set up all loggers to be NullLogger.Instance by default? That would get that first code example down to 2/3 lines of code.

All that said, I&#039;m already using Ninject and I currently have logging set up outside of DI (see code below). So I was reading your blog to learn how to get my log4net to play with Ninject.

But I must admit, I&#039;m struggling to see what adding 9 lines of code to this is going to give me.

static readonly ILog _log = LogManager.GetLogger(typeof(MyClass).Name);</description>
		<content:encoded><![CDATA[<p>Thanks for this.</p>
<p>I&#8217;m wondering, you&#8217;ve got 10 lines of code, just to create a Logger property.</p>
<p>Could you just create a C#3 auto-property, and set up all loggers to be NullLogger.Instance by default? That would get that first code example down to 2/3 lines of code.</p>
<p>All that said, I&#8217;m already using Ninject and I currently have logging set up outside of DI (see code below). So I was reading your blog to learn how to get my log4net to play with Ninject.</p>
<p>But I must admit, I&#8217;m struggling to see what adding 9 lines of code to this is going to give me.</p>
<p>static readonly ILog _log = LogManager.GetLogger(typeof(MyClass).Name);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nate Kohari</title>
		<link>http://mhinze.com/logging-with-ninject/comment-page-1/#comment-26</link>
		<dc:creator>Nate Kohari</dc:creator>
		<pubDate>Wed, 25 Jun 2008 19:03:48 +0000</pubDate>
		<guid isPermaLink="false">http://mhinze.com/?p=10#comment-26</guid>
		<description>Cool idea with the Modules static class, that can clean up the kernel definition pretty nicely. I also like your idea of changing how the AutoWiringExtension works. I think I&#039;m going to either get rid of the AutoWiringMethodHeuristic or provide switches to enable/disable the different types of injection.

Thanks for your praise for Ninject, it&#039;s great to see the fun stuff people are doing with it now!</description>
		<content:encoded><![CDATA[<p>Cool idea with the Modules static class, that can clean up the kernel definition pretty nicely. I also like your idea of changing how the AutoWiringExtension works. I think I&#8217;m going to either get rid of the AutoWiringMethodHeuristic or provide switches to enable/disable the different types of injection.</p>
<p>Thanks for your praise for Ninject, it&#8217;s great to see the fun stuff people are doing with it now!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Reflective Perspective - Chris Alcock &#187; The Morning Brew #120</title>
		<link>http://mhinze.com/logging-with-ninject/comment-page-1/#comment-18</link>
		<dc:creator>Reflective Perspective - Chris Alcock &#187; The Morning Brew #120</dc:creator>
		<pubDate>Mon, 23 Jun 2008 07:21:15 +0000</pubDate>
		<guid isPermaLink="false">http://mhinze.com/?p=10#comment-18</guid>
		<description>[...] Logging with Ninject - Matt Hinze looks at using NInject 1.0&#8217;s logging integration with Log4Net, in response to the posts that Casey Charlton has been making about Castle Windsor and Log4Net. [...]</description>
		<content:encoded><![CDATA[<p>[...] Logging with Ninject &#8211; Matt Hinze looks at using NInject 1.0&#8217;s logging integration with Log4Net, in response to the posts that Casey Charlton has been making about Castle Windsor and Log4Net. [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
