Wednesday, November 10, 2010

log.debug not working in grails unit test

Use the following method call to enable debug level messages to be printed.

mockLogging(grails_artifact_class, true)

where, grails_artifact_class is domain/controller/service class.

No comments:

Post a Comment