<?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>The Nordhagen &#187; logger</title>
	<atom:link href="http://www.oyvindnordhagen.com/blog/tag/logger/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.oyvindnordhagen.com/blog</link>
	<description>Øyvind Nordhagen on ActionScript and other things</description>
	<lastBuildDate>Fri, 20 Jan 2012 13:06:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Olog 1.2.2</title>
		<link>http://www.oyvindnordhagen.com/blog/2010/09/23/olog-1-2-2/</link>
		<comments>http://www.oyvindnordhagen.com/blog/2010/09/23/olog-1-2-2/#comments</comments>
		<pubDate>Thu, 23 Sep 2010 07:00:23 +0000</pubDate>
		<dc:creator>Øyvind</dc:creator>
				<category><![CDATA[Adobe Flash]]></category>
		<category><![CDATA[Freebies]]></category>
		<category><![CDATA[Olog]]></category>
		<category><![CDATA[Problems & Solutions]]></category>
		<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[console]]></category>
		<category><![CDATA[debugging]]></category>
		<category><![CDATA[logger]]></category>
		<category><![CDATA[logging]]></category>
		<category><![CDATA[trace]]></category>

		<guid isPermaLink="false">http://www.oyvindnordhagen.com/blog/?p=435</guid>
		<description><![CDATA[I just committed version 1.2.2 of Olog to the Google Code repository. Updated docs are also in the trunk, but I have yet to update the online docs. New in version 1.2.2 If you didn&#8217;t catch the 1.2 update, you [...]]]></description>
			<content:encoded><![CDATA[<p>I just committed version 1.2.2 of <a href="http://code.google.com/p/olog/" target="_blank">Olog</a> to the Google Code repository. Updated docs are also in the trunk, but I have yet to update <a href="http://www.oyvindnordhagen.com/olog/docs" target="_blank">the online docs</a>.</p>
<h3>New in version 1.2.2</h3>
<p>If you didn&#8217;t catch the 1.2 update, you will not have discovered the new shorthand function which makes logging/tracing even simpler. Instead of trace, write otrace (works with the same arguments as the Olog.trace() method). Also check out the <a href="http://www.oyvindnordhagen.com/blog/2010/09/08/olog-1-2-is-released/">original blog post about version 1.2</a> for more about this goodie release.</p>
<h3>Olog.traceDisplayList()</h3>
<p>Version 1.2.2 introduces a safe and fast display list crawler, accessed via the function Olog.traceDisplayList(root, maxDepth, property). This is extremely handy if you need to debug UI issues. It will present a tree representation of the display list from the specified root object. Like so:</p>
<p><img class="alignnone size-full wp-image-436" title="Olog display list crawler" src="http://www.oyvindnordhagen.com/blog/wp-content/uploads/2010/09/Skjermbilde-2010-09-23-kl.-08.47.02.png" alt="Olog display list crawler" width="565" height="323" /></p>
<p>You can simply call it without arguments. In which case it will use Olog&#8217;s own stage as the root object and a maximum traverse depth of 10 levels down. Supply the root argument with another DisplayObjectContainer, to start from there instead. Altering the maxDepth argument lets you control the tradeoff between level of instrospection and speed. Of course, on a huge display list, a maxDepth of 200 might result in a script timeout/crash, but I trust you to decide what&#8217;s safe.</p>
<p>In addition, you can specify the string name of a property to include for each child. If the child has this property, it will be appended with its value after the class name in the resulting tree. For instance, specify &#8220;alpha&#8221; and you will see the value of the alpha property on all children like so: MyView.alpha = 1.</p>
<h3>Automatic handling of uncaught exeptions</h3>
<p>Flash player 10.1 (SDK 4.1) introduced a way to handle uncaught exeptions globally in a movie. Olog compiles safely with SDK 3.5 (the SWC is compiled with 3.5), but takes advantage of this feature if it is accessible.</p>
<h3>Olog.addKeyBinding()</h3>
<p>This neat little trick lets you bind a sequence of characters to the call of a function. Watch:</p>
<pre lang="actionscript">Olog.addKeyBinding( "list" , _traceDisplayList );
private function _traceDisplayList ():void
{
	Olog.traceDisplayList( this );
}</pre>
<p>If you then, while the movie is running type the word &#8220;list&#8221;, Olog will call the function _traceDisplayList.</p>
<p>These two additions I&#8217;ve wanted to add for a long time and I finally got around to it. Having these tools at my disposal has made many a debug session considerably shorter.</p>
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.oyvindnordhagen.com/blog/2010/09/23/olog-1-2-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AILogger 1.1.2 &#8211; bugfix</title>
		<link>http://www.oyvindnordhagen.com/blog/2009/06/11/ailogger-112-bugfix/</link>
		<comments>http://www.oyvindnordhagen.com/blog/2009/06/11/ailogger-112-bugfix/#comments</comments>
		<pubDate>Thu, 11 Jun 2009 07:56:06 +0000</pubDate>
		<dc:creator>Øyvind</dc:creator>
				<category><![CDATA[Adobe Flash]]></category>
		<category><![CDATA[AILogger]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[console]]></category>
		<category><![CDATA[debugging]]></category>
		<category><![CDATA[free]]></category>
		<category><![CDATA[logger]]></category>
		<category><![CDATA[logging]]></category>
		<category><![CDATA[tool]]></category>
		<category><![CDATA[trace]]></category>

		<guid isPermaLink="false">http://www.oyvindnordhagen.com/blog/2009/06/11/ailogger-112-bugfix/</guid>
		<description><![CDATA[AILogger har been updated to version 1.1.2. This fixes a bug when logging the same item 3 times or more.]]></description>
			<content:encoded><![CDATA[<p>AILogger har been updated to version 1.1.2. This fixes a bug when logging the same item 3 times or more.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.oyvindnordhagen.com/blog/2009/06/11/ailogger-112-bugfix/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AILogger reaches first milestone update (1.1)</title>
		<link>http://www.oyvindnordhagen.com/blog/2009/06/05/ailogger-reaches-first-milestone-update-11/</link>
		<comments>http://www.oyvindnordhagen.com/blog/2009/06/05/ailogger-reaches-first-milestone-update-11/#comments</comments>
		<pubDate>Fri, 05 Jun 2009 13:02:15 +0000</pubDate>
		<dc:creator>Øyvind</dc:creator>
				<category><![CDATA[Adobe Flash]]></category>
		<category><![CDATA[AILogger]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[console]]></category>
		<category><![CDATA[debugging]]></category>
		<category><![CDATA[free]]></category>
		<category><![CDATA[logger]]></category>
		<category><![CDATA[logging]]></category>
		<category><![CDATA[tool]]></category>
		<category><![CDATA[trace]]></category>

		<guid isPermaLink="false">http://www.oyvindnordhagen.com/blog/?p=174</guid>
		<description><![CDATA[One week in the wild and three minor updates have passed and it&#8217;s time to give AILogger some new functionality and a few tweaks. If you&#8217;re tired of downloading new versions, you&#8217;ll be glad to know that I intend to [...]]]></description>
			<content:encoded><![CDATA[<p><img class="attachment wp-att-175" src="http://www.oyvindnordhagen.com/blog/wp-content/uploads/2009/06/counter.jpg" alt="counter" width="489" height="118" /></p>
<p>One week in the wild and three minor updates have passed and it&#8217;s time to give AILogger some new functionality and a few tweaks. If you&#8217;re tired of downloading new versions, you&#8217;ll be glad to know that I intend to to start piling the updates with slightly longer intervals from now on.</p>
<p>This time, we reach version 1.1.0 and here are the changes:</p>
<ul>
<li>New optional detailed logging via public var <strong><em>detailedLogging</em></strong></li>
<li>Option to turn log coloring off via public var <strong><em>coloring</em></strong></li>
<li>More robust handling of different message types</li>
<li>More robust log coloring</li>
</ul>
<p><a href="http://www.oyvindnordhagen.com/public/ailogger.zip">Download version 1.1.0 here.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.oyvindnordhagen.com/blog/2009/06/05/ailogger-reaches-first-milestone-update-11/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AILogger update 1.0.3 EDIT</title>
		<link>http://www.oyvindnordhagen.com/blog/2009/06/04/ailogger-update-103/</link>
		<comments>http://www.oyvindnordhagen.com/blog/2009/06/04/ailogger-update-103/#comments</comments>
		<pubDate>Thu, 04 Jun 2009 12:58:48 +0000</pubDate>
		<dc:creator>Øyvind</dc:creator>
				<category><![CDATA[Adobe Flash]]></category>
		<category><![CDATA[AILogger]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[console]]></category>
		<category><![CDATA[debugging]]></category>
		<category><![CDATA[free]]></category>
		<category><![CDATA[logger]]></category>
		<category><![CDATA[logging]]></category>
		<category><![CDATA[tool]]></category>
		<category><![CDATA[trace]]></category>

		<guid isPermaLink="false">http://www.oyvindnordhagen.com/blog/2009/06/04/ailogger-update-103/</guid>
		<description><![CDATA[Small fixes on AILogger. Version 1.0.2 was added a few days ago also. Here are the changes to them both: EDIT: Version 1.0.4 available [1.0.4 - 5.6.2009] - Better information output from logged events [1.0.3 - 4.6.2009] - Added ability [...]]]></description>
			<content:encoded><![CDATA[<p>Small fixes on AILogger. Version 1.0.2 was added a few days ago also. Here are the changes to them both:</p>
<p>EDIT: Version 1.0.4 available</p>
<p>[1.0.4 - 5.6.2009]<br />
- Better information output from logged events</p>
<p>[1.0.3 - 4.6.2009]<br />
- Added ability to detect logged events<br />
- Logged ErrorEvents are now displayed with event type</p>
<p>[1.0.2 - 2.6.2009]<br />
- Fixed a bug where severity coloring was not applied to the last characted in a log line</p>
]]></content:encoded>
			<wfw:commentRss>http://www.oyvindnordhagen.com/blog/2009/06/04/ailogger-update-103/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Friday freebie: AILogger, log/trace window for flash applications</title>
		<link>http://www.oyvindnordhagen.com/blog/2009/05/30/friday-freebie-ailogger-logtrace-window-for-flash-applications/</link>
		<comments>http://www.oyvindnordhagen.com/blog/2009/05/30/friday-freebie-ailogger-logtrace-window-for-flash-applications/#comments</comments>
		<pubDate>Fri, 29 May 2009 23:20:57 +0000</pubDate>
		<dc:creator>Øyvind</dc:creator>
				<category><![CDATA[Adobe Flash]]></category>
		<category><![CDATA[AILogger]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[console]]></category>
		<category><![CDATA[debugging]]></category>
		<category><![CDATA[free]]></category>
		<category><![CDATA[logger]]></category>
		<category><![CDATA[logging]]></category>
		<category><![CDATA[tool]]></category>
		<category><![CDATA[trace]]></category>

		<guid isPermaLink="false">http://www.oyvindnordhagen.com/blog/?p=157</guid>
		<description><![CDATA[Today I was convinced to share a piece of code that has been with me for many years. AILogger is a sophisticated text field on your stage to write stuff into when trying to debug a Flash application that&#8217;s online. [...]]]></description>
			<content:encoded><![CDATA[<p><a title="Use of AILogger" rel="lightbox[pics146]" href="http://www.oyvindnordhagen.com/blog/wp-content/uploads/2009/05/ailoggerheader.jpg" rel="lightbox[157]"><img class="attachment wp-att-148" src="http://www.oyvindnordhagen.com/blog/wp-content/uploads/2009/05/ailoggerheader.jpg" alt="Use of AILogger" width="489" height="48" /></a></p>
<p>Today I was convinced to share a piece of code that has been with me for many years. AILogger is a sophisticated text field on your stage to write stuff into when trying to debug a Flash application that&#8217;s online. It has several features lite automatic date/time stamping, severity coloring, repeat detection, password protection, line appending and keyboard scrolling. <a href="http://www.oyvindnordhagen.com/blog/ailogger/">You can download and read more about it here.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.oyvindnordhagen.com/blog/2009/05/30/friday-freebie-ailogger-logtrace-window-for-flash-applications/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

