LogNetBaseMaxCacheCount 属性 |
获取或设置日志记录的最大缓存数量,默认为10000000条,当日志文件达到这个数量的时候,说明已经来不及存储日志到文件,直接丢弃日志
Get or set the maximum cache count for log records. The default is 10,000,000. When the log file reaches this number, it indicates that the logs can no longer be stored to the file and will be discarded.
命名空间:
HslCommunication.LogNet
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.9.1.0 (12.9.1.0)
语法public int MaxCacheCount { get; set; }Public Property MaxCacheCount As Integer
Get
Set
public:
virtual property int MaxCacheCount {
int get () sealed;
void set (int value) sealed;
}abstract MaxCacheCount : int with get, set
override MaxCacheCount : int with get, set
属性值
类型:
Int32
参见