Added logging support using SLF4J backed by Log4J.

This commit is contained in:
Jonathan Bernard committed 2010-06-01 07:52:45 -05:00
1 parent 790d2c2a77
commit 966ebbf36a
10 files changed
+38 -23

No files matched your search

+5
View File
@@ -0,0 +1,5 @@
import org.slf4j.LoggerFactory
onNewInstance = { klass, type, instance ->
instance.metaClass.logger = LoggerFactory.getLogger(klass.name)
}