public
Description: @WithLog AST for Groovy
Homepage:
Clone URL: git://github.com/RobertFischer/Groovy-WithLog.git
README
// Provides a @WithLog AST Transform that attaches a Log4J Logger to the annotated class.
import com.smokejumperit.sublog.*

@WithLog
class Foo {
  static logStaticMsg() { log.info("This is a static message!") }
  def logInstanceMsg() { log.info("This is an instance message!") }
}

// Released under the WTFPL.  See LICENSE for more information.

// To install this global transform in your packge, check out the project
// and then run:
//   gant makeJar
// Drop the resulting JAR in your classpath and away you go!