<?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>Komentarze do: Automatyczne nazywanie loggerów log4net</title>
	<atom:link href="http://xlab.pl/automatyczne-nazywanie-logerow-log4net/feed/" rel="self" type="application/rss+xml" />
	<link>http://xlab.pl/automatyczne-nazywanie-logerow-log4net/</link>
	<description>XSolve laboratory - dzielimy się tym co wiemy...</description>
	<lastBuildDate>Sun, 08 Jan 2012 01:41:07 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>Autor: Automatyczne nazywanie logerów log4net, sposób drugi &#124; xlab</title>
		<link>http://xlab.pl/automatyczne-nazywanie-logerow-log4net/comment-page-1/#comment-1406</link>
		<dc:creator>Automatyczne nazywanie logerów log4net, sposób drugi &#124; xlab</dc:creator>
		<pubDate>Wed, 05 Aug 2009 20:33:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.xlab.pl/?p=233#comment-1406</guid>
		<description>[...] w komentarzu do poprzedniej notki o log4net przedstawił inny, niewątpliwie sprytny sposób automatyzacji pobierania nazwanego loggera za [...]</description>
		<content:encoded><![CDATA[<p>[...] w komentarzu do poprzedniej notki o log4net przedstawił inny, niewątpliwie sprytny sposób automatyzacji pobierania nazwanego loggera za [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Autor: gwiazdorrr</title>
		<link>http://xlab.pl/automatyczne-nazywanie-logerow-log4net/comment-page-1/#comment-1405</link>
		<dc:creator>gwiazdorrr</dc:creator>
		<pubDate>Wed, 05 Aug 2009 08:54:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.xlab.pl/?p=233#comment-1405</guid>
		<description>Nice. Można jednak zrobić to jeszcze fajniej poprzez metody rozszerzające:

#         namespace Logging
#         {
#           public static class LogExtensions
#           {
#             public static ILog GetLog(this Object obj)
#             {
#               return LogManager.GetLogger(obj.GetType());
#             }
#           }
#         }

Teraz kod po przetłumaczeniu:

#         public void TestLoggerName()  
#         {  
#             BasicConfigurator.Configure();  
#             ILog log = GetLog();  
#   
#             Assert.That(log.Logger.Name, Is.EqualTo(&quot;Test.LoggingTests&quot;));  
#         }</description>
		<content:encoded><![CDATA[<p>Nice. Można jednak zrobić to jeszcze fajniej poprzez metody rozszerzające:</p>
<p>#         namespace Logging<br />
#         {<br />
#           public static class LogExtensions<br />
#           {<br />
#             public static ILog GetLog(this Object obj)<br />
#             {<br />
#               return LogManager.GetLogger(obj.GetType());<br />
#             }<br />
#           }<br />
#         }</p>
<p>Teraz kod po przetłumaczeniu:</p>
<p>#         public void TestLoggerName()<br />
#         {<br />
#             BasicConfigurator.Configure();<br />
#             ILog log = GetLog();<br />
#<br />
#             Assert.That(log.Logger.Name, Is.EqualTo(&#8222;Test.LoggingTests&#8221;));<br />
#         }</p>
]]></content:encoded>
	</item>
</channel>
</rss>

