Logging in templates

Messages can be sent to a particular PolicyCenter log file by using the gw.api.system.PCLoggerCategory object. Retrieve the desired Logger object by calling the object's forCategory method and specifying the relevant log category. Text messages can be sent to the returned Logger object.