-
Notifications
You must be signed in to change notification settings - Fork 10
Not logged rules
zhaber edited this page Aug 5, 2012
·
1 revision
For some sensitive data, such as a credit card number or an answer to a security question, you may not want a parameter value to appear in a log file. In this case, you can use the nolog
script method block and grules will never include values of the parameters passed to this method or send them to the client side. The following is one example of the use of nolog
:
//the call has to be made before parameters are validated
nolog(creditCard, password)
creditCard isCreditCard([CreditCard.VISA])
password isValidPassword(username)