Skip to main content

Syntax

setSensitiveLoggingSettings(settings)

Description

Adjusts the masking and redaction configuration for the conversation. Parameters:
  • settings: ISensitiveLoggingSettings — an object containing the sensitive logging settings.
export interface ISensitiveLoggingSettings {
    maskLogging: boolean;
    maskAnalytics: boolean;
    maskIPAddress?: boolean;
    disableConversations: boolean;
    disableIntentTrainer: boolean;
}
Returns: void

Example

// Example: Update sensitive logging settings for the current conversation
setSensitiveLoggingSettings({
  maskLogging: true,
  maskAnalytics: false,
  disableConversations: false,
  disableIntentTrainer: true,
});
I