| 34 | == Logging Actions == |
| 35 | |
| 36 | S3Audit is called during CRUD actions as: |
| 37 | {{{#!python |
| 38 | current.audit(method, prefix, name, record=record, representation=representation) |
| 39 | }}} |
| 40 | |
| 41 | ||=Parameter=||=Explanation=|| |
| 42 | ||'''method'''||The access method (create, list, read, update, delete)|| |
| 43 | ||'''prefix'''||The prefix of the table name|| |
| 44 | ||'''name'''||The tablename without prefix|| |
| 45 | ||'''record'''||The record ID (None for multiple records)|| |
| 46 | ||'''representation'''||The representation format of the request|| |
| 47 | |