Added logging support using SLF4J backed by Log4J.
This commit is contained in:
5
pit-swing/griffon-app/conf/Events.groovy
Normal file
5
pit-swing/griffon-app/conf/Events.groovy
Normal file
@ -0,0 +1,5 @@
|
||||
import org.slf4j.LoggerFactory
|
||||
|
||||
onNewInstance = { klass, type, instance ->
|
||||
instance.metaClass.logger = LoggerFactory.getLogger(klass.name)
|
||||
}
|
Reference in New Issue
Block a user