Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add except record event #1244

Closed
wants to merge 1 commit into from
Closed

feat: add except record event #1244

wants to merge 1 commit into from

Conversation

Muetze42
Copy link

@Muetze42 Muetze42 commented Nov 2, 2023

In addition to "Customize the events to be logged" another method to except events:

class Article extends Model
{
    use LogsActivity;

    protected static $exceptRecordEvents = [
        'created',
    ];

@github-actions github-actions bot added the stale label Nov 24, 2023
@github-actions github-actions bot closed this Dec 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant