Skip to content

Commit

Permalink
Add new parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
pecanoro committed Oct 23, 2024
1 parent 0685204 commit 7f9d209
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions libstuff/SLog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,19 +43,20 @@ void SLogStackTrace(int level) {
// If the param name is not in this whitelist, we will log <REDACTED> in addLogParams.
static const set<string> PARAMS_WHITELIST = {
"accountID",
"command",
"indexName",
"isUnique",
"cardID",
"token",
"type",
"reportID",
"policyID",
"command",
"companyName",
"companyWebsite",
"errorMessage",
"indexName",
"invoice",
"isUnique",
"policyAccountID",
"errorMessage"
"policyID",
"reportID",
"token",
"transactionID",
"type"
};

string addLogParams(string&& message, const map<string, string>& params) {
Expand Down

0 comments on commit 7f9d209

Please sign in to comment.