Audit log

Creates a logbook based on changes in an eloquent model

Back to Audit log Support

eng.aldmohy19642
eng.aldmohy19642

I dunna know if I'm making something wrong or no ! Its not workin, I just installed it and then in the model RainLab\User\Models\User, added this use Jacob\Logbook\Traits\LogChanges; is it write ? or I must make another thing ? this a screenshot : https://jmp.sh/xdyPzc1

Jacob
Jacob

Hello,

You have to use the trait in the class. So add it after \October\Rain\Database\SoftDeletes in your User model.

eng.aldmohy19642
eng.aldmohy19642

Thanks bro, it works great.

1-3 of 3