Added logging support using SLF4J backed by Log4J.

This commit is contained in:
Jonathan Bernard
2010-06-01 07:52:45 -05:00
parent 790d2c2a77
commit 966ebbf36a
10 changed files with 38 additions and 23 deletions

View File

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