Default events
Logger for Statamic listens for a number of Statamic and Laravel events.
New events New
Statamic 5.15.0 added new events for impersonation, password changes, sites and utilities. These are now all included in Logger's default setup.
Laravel events
Illuminate\Auth\Events\Login::class
Illuminate\Auth\Events\Logout::class
Illuminate\Auth\Events\Failed::class
Illuminate\Auth\Events\PasswordReset::class
Statamic events
Statamic\Events\AssetContainerCreated::class
Statamic\Events\AssetContainerDeleted::class
Statamic\Events\AssetContainerSaved::class
Statamic\Events\AssetDeleted::class
Statamic\Events\AssetReplaced::class
Statamic\Events\AssetReuploaded::class
Statamic\Events\AssetSaved::class
Statamic\Events\AssetUploaded::class
Statamic\Events\BlueprintCreated::class
Statamic\Events\BlueprintDeleted::class
Statamic\Events\BlueprintReset::class
Statamic\Events\BlueprintSaved::class
Statamic\Events\CollectionCreated::class
Statamic\Events\CollectionDeleted::class
Statamic\Events\CollectionSaved::class
Statamic\Events\CollectionTreeDeleted::class
Statamic\Events\CollectionTreeSaved::class
Statamic\Events\EntryCreated::class
Statamic\Events\EntryDeleted::class
Statamic\Events\EntrySaved::class
Statamic\Events\FieldsetCreated::class
Statamic\Events\FieldsetDeleted::class
Statamic\Events\FieldsetSaved::class
Statamic\Events\FormCreated::class
Statamic\Events\FormDeleted::class
Statamic\Events\FormSaved::class
Statamic\Events\GlideCacheCleared::class
Statamic\Events\GlobalSetCreated::class
Statamic\Events\GlobalSetDeleted::class
Statamic\Events\GlobalSetSaved::class
Statamic\Events\ImpersonationEnded::class
Statamic\Events\ImpersonationStarted::class
Statamic\Events\LicenseSet::class
Statamic\Events\LicensesRefreshed::class
Statamic\Events\LocalizedTermDeleted::class
Statamic\Events\LocalizedTermSaved::class
Statamic\Events\NavCreated::class
Statamic\Events\NavCreating::class
Statamic\Events\NavDeleted::class
Statamic\Events\NavSaved::class
Statamic\Events\NavSaving::class
Statamic\Events\NavTreeDeleted::class
Statamic\Events\NavTreeSaved::class
Statamic\Events\RoleDeleted::class
Statamic\Events\RoleSaved::class
Statamic\Events\SearchIndexUpdated::class
Statamic\Events\SiteCreated::class
Statamic\Events\SiteDeleted::class
Statamic\Events\SiteSaved::class
Statamic\Events\StacheCleared::class
Statamic\Events\StacheWarmed::class
Statamic\Events\StaticCacheCleared::class
Statamic\Events\SubmissionCreated::class
Statamic\Events\SubmissionCreating::class
Statamic\Events\SubmissionDeleted::class
Statamic\Events\SubmissionSaved::class
Statamic\Events\SubmissionSaving::class
Statamic\Events\TaxonomyCreated::class
Statamic\Events\TaxonomyDeleted::class
Statamic\Events\TaxonomySaved::class
Statamic\Events\TermCreated::class
Statamic\Events\TermDeleted::class
Statamic\Events\TermSaved::class
Statamic\Events\UserCreated::class
Statamic\Events\UserDeleted::class
Statamic\Events\UserPasswordChanged::class
Statamic\Events\UserSaved::class
Statamic\Events\UserGroupDeleted::class
Statamic\Events\UserGroupSaved::class
Extending Logger for Statamic
You can also extend Logger for Statamic by creating your own event listeners, extend existing event listeners, or exclude events from being logged.