April.Web.Auditing.SimpleLogAuditingStore.SaveAsync C# (CSharp) Method

SaveAsync() public method

public SaveAsync ( April.Web.Auditing.AuditInfo auditInfo ) : Task
auditInfo April.Web.Auditing.AuditInfo
return Task
        public Task SaveAsync(AuditInfo auditInfo)
        {
            if (auditInfo.Exception == null)
            {
                Logger.Info(auditInfo.ToString());
            }
            else
            {
                Logger.Warn(auditInfo.ToString());
            }

            return Task.FromResult(0);
        }
    }