<?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/"
	xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
xmlns:rawvoice="http://www.rawvoice.com/rawvoiceRssModule/"
	>
<channel>
	<title>Comments on: The @WithLog Annotation and Groovy ASTTransforms</title>
	<atom:link href="http://enfranchisedmind.com/blog/posts/with-log-groovy-ast-transform/feed/" rel="self" type="application/rss+xml" />
	<link>http://enfranchisedmind.com/blog/posts/with-log-groovy-ast-transform/</link>
	<description>programming, politics, &#38; other religious issues</description>
	<lastBuildDate>Wed, 08 Feb 2012 14:16:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: log.debug { "$toStringMe only if necessary!" }</title>
		<link>http://enfranchisedmind.com/blog/posts/with-log-groovy-ast-transform/#comment-37457</link>
		<dc:creator>log.debug { "$toStringMe only if necessary!" }</dc:creator>
		<pubDate>Fri, 19 Mar 2010 18:02:15 +0000</pubDate>
		<guid isPermaLink="false">http://enfranchisedmind.com/blog/?p=1536#comment-37457</guid>
		<description>[...] just updated the @WithLog AST transform for Groovy. In case you don&#8217;t know, that&#8217;s my project over at GitHub which allows you to turn: [...]</description>
		<content:encoded><![CDATA[<p>[...] just updated the @WithLog AST transform for Groovy. In case you don&#8217;t know, that&#8217;s my project over at GitHub which allows you to turn: [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cry for Help &#124; Enfranchised Mind</title>
		<link>http://enfranchisedmind.com/blog/posts/with-log-groovy-ast-transform/#comment-36726</link>
		<dc:creator>Cry for Help &#124; Enfranchised Mind</dc:creator>
		<pubDate>Thu, 13 Aug 2009 18:24:10 +0000</pubDate>
		<guid isPermaLink="false">http://enfranchisedmind.com/blog/?p=1536#comment-36726</guid>
		<description>[...] (more info here) should also be able to be assigned via an [...]</description>
		<content:encoded><![CDATA[<p>[...] (more info here) should also be able to be assigned via an [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert Fischer</title>
		<link>http://enfranchisedmind.com/blog/posts/with-log-groovy-ast-transform/#comment-36619</link>
		<dc:creator>Robert Fischer</dc:creator>
		<pubDate>Tue, 04 Aug 2009 14:16:08 +0000</pubDate>
		<guid isPermaLink="false">http://enfranchisedmind.com/blog/?p=1536#comment-36619</guid>
		<description>No: it&#039;s not automatically added to anything at this point, so you have to explicitly add the annotation.

That feature that could be added to &lt;a href=&quot;http://grails.org/plugin/sublog&quot; rel=&quot;nofollow&quot;&gt;Sublog&lt;/a&gt; (the Grails plugin), though: an AST transform extending @WithLog could query the &lt;a href=&quot;http://java.sun.com/j2se/1.5.0/docs/api/java/security/CodeSource.html&quot; rel=&quot;nofollow&quot;&gt;CodeSource&lt;/a&gt;, and if the location is a subdirectory of the Grails project, then the logging could be added.

That&#039;ll take a pretty minor modification to &lt;code&gt;@WithLog&lt;/code&gt; to allow child classes to specify new &quot;finder&quot; behavior, and it&#039;ll need to be packaged up in a JAR with an appropriately-filled-out &lt;code&gt;org.codehaus.groovy.transform.ASTTransformation&lt;/code&gt; file.

If you decide to implement that, then feel free to share the patch and I&#039;ll integrate it into Sublog.</description>
		<content:encoded><![CDATA[<p>No: it&#8217;s not automatically added to anything at this point, so you have to explicitly add the annotation.</p>
<p>That feature that could be added to <a href="http://grails.org/plugin/sublog" rel="nofollow">Sublog</a> (the Grails plugin), though: an AST transform extending @WithLog could query the <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/security/CodeSource.html" rel="nofollow">CodeSource</a>, and if the location is a subdirectory of the Grails project, then the logging could be added.</p>
<p>That&#8217;ll take a pretty minor modification to <code>@WithLog</code> to allow child classes to specify new &#8220;finder&#8221; behavior, and it&#8217;ll need to be packaged up in a JAR with an appropriately-filled-out <code>org.codehaus.groovy.transform.ASTTransformation</code> file.</p>
<p>If you decide to implement that, then feel free to share the patch and I&#8217;ll integrate it into Sublog.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Donal</title>
		<link>http://enfranchisedmind.com/blog/posts/with-log-groovy-ast-transform/#comment-36616</link>
		<dc:creator>Donal</dc:creator>
		<pubDate>Tue, 04 Aug 2009 13:54:14 +0000</pubDate>
		<guid isPermaLink="false">http://enfranchisedmind.com/blog/?p=1536#comment-36616</guid>
		<description>In a Grails project, will this also add a logger to classes under src/java?</description>
		<content:encoded><![CDATA[<p>In a Grails project, will this also add a logger to classes under src/java?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert Fischer</title>
		<link>http://enfranchisedmind.com/blog/posts/with-log-groovy-ast-transform/#comment-36544</link>
		<dc:creator>Robert Fischer</dc:creator>
		<pubDate>Fri, 24 Jul 2009 17:48:06 +0000</pubDate>
		<guid isPermaLink="false">http://enfranchisedmind.com/blog/?p=1536#comment-36544</guid>
		<description>With the AST Transform, the IDE should recognize the logger as long as it&#039;s importing the AST Transform JAR onto the classpath at compile time.  Which I&#039;d be surprised if it didn&#039;t.</description>
		<content:encoded><![CDATA[<p>With the AST Transform, the IDE should recognize the logger as long as it&#8217;s importing the AST Transform JAR onto the classpath at compile time.  Which I&#8217;d be surprised if it didn&#8217;t.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

