Example code logger user actions
Completed
Requested by leandro-hermes

leandro-hermes
Example detailing how to produce system logs on every authenticated user action
Join The Discussion! (2 Replies)
Please sign in or sign up for free to join in on the dicussion.
-
tomgobich
Request completed 2 months ago with the following commentAlrighty, this was released yesterday and can be found here:
https://adocasts.com/lessons/how-to-use-adonisjs-model-hooks-to-log-all-user-actions
Thanks again for your request!
Please sign in or sign up for free to reply
-
tomgobich
Request approved 3 months ago with the following commentHi Leandro, thank you for your request! This sounds like a great lesson. This can be done globally for all models by hooking into the base model's event system.
I should have this lesson out on July 2nd or 9th.
Please sign in or sign up for free to reply