<?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 in Javascript</title>
	<atom:link href="http://www.jeffhung.net/blog/articles/jeffhung/500/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jeffhung.net/blog/articles/jeffhung/500/</link>
	<description>(My smile insists of having nose. :-)</description>
	<lastBuildDate>Thu, 03 Nov 2011 00:43:25 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2-alpha</generator>
	<item>
		<title>By: jzshmyt</title>
		<link>http://www.jeffhung.net/blog/articles/jeffhung/500/comment-page-1/#comment-99077</link>
		<dc:creator>jzshmyt</dc:creator>
		<pubDate>Mon, 16 Jun 2008 09:23:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.jeffhung.net/blog/articles/jeffhung/500/#comment-99077</guid>
		<description>我写了一个javascriptlog
下载地址:
http://www.box.net/shared/ziytr4pc80#1:12948521</description>
		<content:encoded><![CDATA[<p>我写了一个javascriptlog<br />
下载地址:<br />
<a href="http://www.box.net/shared/ziytr4pc80#1:12948521" rel="nofollow">http://www.box.net/shared/ziytr4pc80#1:12948521</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jeffhung</title>
		<link>http://www.jeffhung.net/blog/articles/jeffhung/500/comment-page-1/#comment-2110</link>
		<dc:creator>jeffhung</dc:creator>
		<pubDate>Sun, 02 Apr 2006 01:16:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.jeffhung.net/blog/articles/jeffhung/500/#comment-2110</guid>
		<description>&lt;p&gt;要在 browser 的 javascript console 寫 log，請這麼寫：&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;function JSConsoleLog(msg, tag)
{
	if (window.console) {
		var s;
		if (tag) {
			s += (tag + &#039;: &#039;);
		}
		s += msg;
		window.console.log(s);
	}
}

JSConsoleLog(&#039;test1&#039;, &#039;INFO&#039;);
JSConsoleLog(&#039;test2&#039;, &#039;DEBUG&#039;);
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>要在 browser 的 javascript console 寫 log，請這麼寫：</p>
<pre class="code">function JSConsoleLog(msg, tag)
{
	if (window.console) {
		var s;
		if (tag) {
			s += (tag + ': ');
		}
		s += msg;
		window.console.log(s);
	}
}

JSConsoleLog('test1', 'INFO');
JSConsoleLog('test2', 'DEBUG');
</pre>
]]></content:encoded>
	</item>
</channel>
</rss>

