This add-on now uses the Standard Library add-on from Xon. Make sure to install this as it is a requirement.
We were already using this library, but now it is an official add-on which makes library updates much easier.
Note: This will only work if the user is a moderator (this is by Xenforo design). If you also want to log actions from non-moderators you will need this extra add-on: Log all moderator actions
Warning: Always make a backup and test before installing this on a production forum.