Skip to content
Browse files

add withoutLogs to docs

  • Loading branch information
Gummibeer committed Mar 13, 2020
1 parent 9af498a commit 1084c25bdc3849565abdfaea0d1845c8b24083d3
Showing with 12 additions and 0 deletions.
  1. +12 −0 docs/advanced-usage/
@@ -10,3 +10,15 @@ activity()->disableLogging();

If you want to enable logging again call `activity()->enableLogging()`.

## without Logs

If you want to run a given code snippet without logs you can use the `withoutLogs()` method.

// ...

Everything that would produce an activitylog (model events, explicit calls) won't save an activity.

0 comments on commit 1084c25

Please sign in to comment.
You can’t perform that action at this time.