<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Library &#8211; Alexander Shyrokov&#039;s blog</title>
	<atom:link href="http://sjcomp.com/blog/?feed=rss2&#038;cat=74" rel="self" type="application/rss+xml" />
	<link>http://sjcomp.com/blog</link>
	<description>This&#039;s only my opinion, so keep it that way</description>
	<lastBuildDate>Mon, 21 Oct 2019 13:42:29 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.9.16</generator>
	<item>
		<title>C++ logger class</title>
		<link>http://sjcomp.com/blog/?p=430</link>
		<pubDate>Tue, 09 Feb 2010 02:52:19 +0000</pubDate>
		<dc:creator><![CDATA[Alexander Shyrokov]]></dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Library]]></category>
		<category><![CDATA[Reviews]]></category>

		<guid isPermaLink="false">http://sjcomp.com/blog/?p=430</guid>
		<description><![CDATA[I was looking for a logger implementation for one of my projects. I needed a few features: simultaneous output to a console and a log file, efficiency, and ease of use. Quick google search revealed a few candidates: Apache log4cxx, and Pantheios. Do it yourself articles (example) about home made logging I ignored, because I [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>I was looking for a logger implementation for one of my projects. I needed a few features: simultaneous output to a console and a log file, efficiency, and ease of use. Quick google search revealed a few candidates: <a href="http://logging.apache.org/log4cxx/index.html">Apache log4cxx</a>, and <a href="http://www.pantheios.org/">Pantheios</a>. Do it yourself articles (<a href="http://www.drdobbs.com/cpp/201804215">example</a>) about home made logging I ignored, because I have done enough of those (<a href="http://torjo.com/log2/">Boost Logging Library v2</a> is in the same category for me). Given that my primary platform is Windows, log4cxx was dropped, as windows was not <a href="http://www.dreamcubes.com/b2/software-development/28/log4cxx-for-win32-with-vs2005/" class="broken_link">directly supported</a>.</p>
<p>Compiling a few examples for pantheios was not difficult, but getting it to do exactly what I planned, which is to have output to a console and a file at the same time, was a little more challenging. The solution was not obvious from the documentation, and sample name mx.1 did not stand out to me as meaning Mixing different back ends. But after searching in <a href="https://sourceforge.net/projects/pantheios/forums">pantheios forums</a> I have found the <a href="https://sourceforge.net/projects/pantheios/forums/forum/475314/topic/2186546">answer to my question</a>.</p>
<p>At the end of the day <a href="http://www.pantheios.org/">Pantheios</a> was my choice. We will see how happy I will be with it after I play with it for a while.</p>
]]></content:encoded>
			</item>
	</channel>
</rss>
