(Quick Reference)
create-service-update-log
Purpose
The
create-service-update-log
generates all the logs for the service
update
method.
Examples
grails create-service-update-log Person
grails create-service-update-log "*"
Description
Given at least one domain class, this command creates logs for the service
update
method. The command will generate the following file:
src/groovy/{package}/aop/{domainClass}ServiceUpdate.groovy
Usage:
grails create-service-update-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.