LogMaskRule 类
- 命名空间
- ClassIsland.Core.Models.Logging
- 程序集
- ClassIsland.Core.dll
日志打码规则
public record LogMaskRule : IEquatable<LogMaskRule>
- 继承
-
LogMaskRule
- 实现
- 继承成员
构造函数
LogMaskRule(Regex, int)
日志打码规则
public LogMaskRule(Regex Regex, int MatchIndex)
参数
属性
MatchIndex
要打码的部分的匹配索引
public int MatchIndex { get; init; }
属性值
Regex
要匹配的正则表达式
public Regex Regex { get; init; }