(Quick Reference)
create-service-get-log
Purpose
The
create-service-get-log
generates all the logs for the service
get
method.
Examples
grails create-service-get-log Person
grails create-service-get-log "*"
Description
Given at least one domain class, this command creates logs for the service
get
method. The command will generate the following file:
src/groovy/{package}/aop/{domainClass}ServiceGet.groovy
Usage:
grails create-service-get-log [domainClass]
Arguments:
domainClass
- Either a domain class name (case-sensitive) without its package or a wildcard (*). If you specify the wildcard the artifacts will be generated for all domain classes.