Partager via


AuditLog.Log Method

Definition

Overloads

Log(AuditType, LogData)
Obsolete.

Logs the messages to the database using the AuditLog web service asynchronously.

Log(String, LogData)

Logs the messages to the database using the AuditLog web service asynchronously.

Log(AuditType, LogData)

Caution

This method has been deprecated, use Log(string, LogData) instead.

Logs the messages to the database using the AuditLog web service asynchronously.

public:
 static void Log(Microsoft::Uii::Common::Entities::AuditType auditType, Microsoft::Uii::Common::Entities::LogData ^ logData);
[System.Obsolete("This method has been deprecated, use Log(string, LogData) instead.", false)]
public static void Log (Microsoft.Uii.Common.Entities.AuditType auditType, Microsoft.Uii.Common.Entities.LogData logData);
[<System.Obsolete("This method has been deprecated, use Log(string, LogData) instead.", false)>]
static member Log : Microsoft.Uii.Common.Entities.AuditType * Microsoft.Uii.Common.Entities.LogData -> unit
Public Shared Sub Log (auditType As AuditType, logData As LogData)

Parameters

auditType
AuditType

Specifies the type of audit activity

logData
LogData

Specifies the data to log

Attributes

Remarks

Caching done based on the NoCache property. This method has been deprecated, use Log(string, LogData) instead.

Applies to

Log(String, LogData)

Logs the messages to the database using the AuditLog web service asynchronously.

public:
 static void Log(System::String ^ auditFlagName, Microsoft::Uii::Common::Entities::LogData ^ logData);
public static void Log (string auditFlagName, Microsoft.Uii.Common.Entities.LogData logData);
static member Log : string * Microsoft.Uii.Common.Entities.LogData -> unit
Public Shared Sub Log (auditFlagName As String, logData As LogData)

Parameters

auditFlagName
String

Specifies the arbitrary audit flag identifier

logData
LogData

Audit log record where ToString() will be used to extract contents.

Remarks

Caching done based on the NoCache property. Message will be logged only if GetAuditFlag(auditFlagName) returns non-zero. Use SetAuditFlag(auditFlagName) to set.

Applies to