summaryrefslogtreecommitdiff
path: root/src/mongo/logv2/log_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/logv2/log_util.h')
-rw-r--r--src/mongo/logv2/log_util.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/mongo/logv2/log_util.h b/src/mongo/logv2/log_util.h
index e1b6c2c34e0..09505e02d94 100644
--- a/src/mongo/logv2/log_util.h
+++ b/src/mongo/logv2/log_util.h
@@ -90,4 +90,15 @@ bool shouldRedactLogs();
* Set the 'redact' mode of the server.
*/
void setShouldRedactLogs(bool enabled);
+
+/**
+ * Returns true if the BinData Encrypt should be redacted. Default true.
+ */
+bool shouldRedactBinDataEncrypt();
+
+/**
+ * Sets the redact mode of the bin data encrypt field.
+ */
+void setShouldRedactBinDataEncrypt(bool enabled);
+
} // namespace mongo::logv2