WhenRepeatedFilter Class |
Namespace: NLog.Filters
The WhenRepeatedFilter type exposes the following members.
| Name | Description | |
|---|---|---|
| WhenRepeatedFilter | Initializes a new instance of the WhenRepeatedFilter class |
| Name | Description | |
|---|---|---|
| Action |
Gets or sets the action to be taken when filter matches.
(Inherited from Filter.) | |
| DefaultFilterCacheSize |
Default number of unique filter values to expect, will automatically increase if needed
| |
| FilterCountMessageAppendFormat |
Append FilterCount to the Message when an event is no longer filtered
| |
| FilterCountPropertyName |
Insert FilterCount value into Properties when an event is no longer filtered
| |
| IncludeFirst |
Applies the configured action to the initial logevent that starts the timeout period.
Used to configure that it should ignore all events until timeout.
| |
| Layout |
Gets or sets the layout to be used to filter log messages.
(Inherited from LayoutBasedFilter.) | |
| MaxFilterCacheSize |
Max number of unique filter values to expect simultaneously
| |
| MaxLength |
Max length of filter values, will truncate if above limit
| |
| OptimizeBufferDefaultLength |
Default buffer size for the internal buffers
| |
| TimeoutSeconds |
How long before a filter expires, and logging is accepted again
|
| Name | Description | |
|---|---|---|
| Check |
Checks whether log event should be logged or not. In case the LogEvent has just been repeated.
(Overrides FilterCheck(LogEventInfo).) |