TITcs.SharePoint.Libs by Stiven F. Câmara

<PackageReference Include="TITcs.SharePoint.Libs" Version="1.0.0" />

.NET API 60,016,200 bytes

 SPAudit

public sealed class SPAudit
public SPAuditMaskType AuditFlags { get; set; }

public bool UseAuditFlagCache { get; set; }

public static bool WriteAuditEvent(SPWeb web, string serverRelativeUrl, SPAuditItemType itemType, SPAuditEventType eventId, string eventName, string eventSource, string xmlData)

public int DeleteEntries(DateTime deleteEndDate)

public void TrimAuditLog(DateTime deleteEndDate)

public void Update()

public bool WriteAuditEvent(SPAuditEventType eventId, string eventSource, string xmlData)

public bool WriteAuditEvent(string eventName, string eventSource, int userId, string xmlData)

public bool WriteAuditEvent(string eventName, string eventSource, string xmlData)

public bool WriteAuditEventUnlimitedData(SPAuditEventType eventId, string eventSource, string xmlData)

public bool WriteAuditEventUnlimitedData(string eventName, string eventSource, string xmlData)