Verify a list of operations or classes of operations that need to be logged.
http://docs.moodle.org/en/Development:Coding
- User actions should be logged using the add_to_log() function. These logs are used for activity reports and Logs.
http://docs.moodle.org/en/Logs