Skip to content

Commit

Permalink
Update sift logging configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
pamodaaw committed Jan 30, 2025
1 parent d19f324 commit d634908
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -119,12 +119,12 @@ Follow the steps given below to try it out:

### Enable Logging

Including `"isLoggingEnabled": true` as an additional parameter in the functions activates logging for Sift fraud detection. When used with `getSiftRiskScoreForLogin`, it logs the payload sent to Sift and the risk score returned by Sift, and when applied to `publishLoginEventToSift`, it logs the payload sent to Sift.
Including `"loggingEnabled": true` as an additional parameter in the functions activates logging for Sift fraud detection. When used with `getSiftRiskScoreForLogin`, it logs the payload sent to Sift and the risk score returned by Sift, and when applied to `publishLoginEventToSift`, it logs the payload sent to Sift.

```javascript
var additionalParams = {
---
"$isLoggingEnabled": true
"$loggingEnabled": true
---
}
```

0 comments on commit d634908

Please sign in to comment.