dimanche 14 mai 2017

Generate logs for system actions

I need to register user actions in a log file (.txt). These actions are registrations and removals, for example. Everything will happen in a web system developed with PHP. How I can do this?
I thought about the observer pattern, but I don't know if it's the best option to solve this problem.
Ps: I'm not asking for codes or implementation, but for a pattern or something like that.

Aucun commentaire:

Enregistrer un commentaire