Skip to content

Commit

Permalink
Update example
Browse files Browse the repository at this point in the history
  • Loading branch information
ehmicky committed Mar 16, 2019
1 parent 1a926de commit 57b72b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/API.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,8 @@ logProcessErrors({
// Skip some logs based on a condition
logProcessErrors({
level: {
default() {
return shouldSkip() ? 'silent' : 'default'
default(event) {
return shouldSkip(event) ? 'silent' : 'default'
},
},
})
Expand Down

0 comments on commit 57b72b1

Please sign in to comment.