Skip to content
This repository has been archived by the owner on Jun 1, 2019. It is now read-only.

screenshots #7

Closed
syrakozz opened this issue Apr 15, 2015 · 3 comments
Closed

screenshots #7

syrakozz opened this issue Apr 15, 2015 · 3 comments

Comments

@syrakozz
Copy link

could you plz add a screenshots for the project,
or link for the demo
like pimpmylog project

@freekmurze
Copy link
Member

Hi,

if you follow the instructions of the README you can setup a demo yourself. Reading through the README should give you a good idea of the functionality this package provides.

@kykiskie
Copy link

hi sorry for this , i can use the Activity::log() just fine.

but im lost at log model events, can you please provide more literal examples.

lets say that i want to log the login action, how to do this ?

for now, i'm using Activity:log() in every function that i want to log, but it seems tiring, and log model events is far cleaner if i'm able to implement it.

cheers

@freekmurze
Copy link
Member

If you want to log a user logging in that you put Activity::log() somewhere in the controller that performs the login.

You can hook into model events by letting models implement LogsActivityInterface. See the readme for more details.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants