Skip to content

Commit

Permalink
Merge pull request #4999 from pamodaaw/master
Browse files Browse the repository at this point in the history
Update sift logging configuration
  • Loading branch information
himeshsiriwardana authored Jan 30, 2025
2 parents d19f324 + d634908 commit f9e3df3
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 f9e3df3

Please sign in to comment.