|
|
@ -13,15 +13,21 @@ namespace LINGYUN.Abp.Auditing.Features |
|
|
name: AuditingFeatureNames.GroupName, |
|
|
name: AuditingFeatureNames.GroupName, |
|
|
displayName: L("Features:Auditing")); |
|
|
displayName: L("Features:Auditing")); |
|
|
|
|
|
|
|
|
auditingGroup.AddFeature( |
|
|
var loggingFeature = auditingGroup.AddFeature( |
|
|
name: AuditingFeatureNames.AuditLog.Default, |
|
|
name: AuditingFeatureNames.Logging.Default, |
|
|
|
|
|
displayName: L("Features:Auditing"), |
|
|
|
|
|
description: L("Features:Auditing") |
|
|
|
|
|
); |
|
|
|
|
|
|
|
|
|
|
|
loggingFeature.CreateChild( |
|
|
|
|
|
name: AuditingFeatureNames.Logging.AuditLog, |
|
|
defaultValue: true.ToString(), |
|
|
defaultValue: true.ToString(), |
|
|
displayName: L("Features:DisplayName:AuditLog"), |
|
|
displayName: L("Features:DisplayName:AuditLog"), |
|
|
description: L("Features:Description:AuditLog"), |
|
|
description: L("Features:Description:AuditLog"), |
|
|
valueType: new ToggleStringValueType(new BooleanValueValidator()) |
|
|
valueType: new ToggleStringValueType(new BooleanValueValidator()) |
|
|
); |
|
|
); |
|
|
auditingGroup.AddFeature( |
|
|
loggingFeature.CreateChild( |
|
|
name: AuditingFeatureNames.SecurityLog.Default, |
|
|
name: AuditingFeatureNames.Logging.SecurityLog, |
|
|
defaultValue: true.ToString(), |
|
|
defaultValue: true.ToString(), |
|
|
displayName: L("Features:DisplayName:SecurityLog"), |
|
|
displayName: L("Features:DisplayName:SecurityLog"), |
|
|
description: L("Features:Description:SecurityLog"), |
|
|
description: L("Features:Description:SecurityLog"), |
|
|
|