I am currently developing a user panel for my application and I need an elegant way to log user's action. So I need to create a method that would save into a database:
- username/id (available from current session - easy part) - removed/added - parameter
- other informations like timestamp (easy part)
What about the removed/added + parameters - i guess it would involve attaching a service that would get current controller and action, but how?
Thank's in advance.