Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
bolechen authored Feb 2, 2021
1 parent 6dd9ba3 commit 4f9b64a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,12 @@ You can optionally publish the config file with:
php artisan vendor:publish --provider="Spatie\Activitylog\ActivitylogServiceProvider" --tag="config"
```

You may only want to log actions from nova, put this line to your `.env` files let default logger off.

```env
ACTIVITY_LOGGER_ENABLED=false
```

## How to use

Next up, you must register the tool with Nova. This is typically done in the `tools` method of the `NovaServiceProvider`.
Expand Down

0 comments on commit 4f9b64a

Please sign in to comment.