C# Class GSF.Diagnostics.LogSuppressionEngine

The suppression engine associated with an individual LogEventPublisherDetails.
Datei anzeigen Open project: GridProtectionAlliance/gsf Class Usage Examples

Public Methods

Method Description
IncrementPublishCount ( ) : MessageSuppression

Increments the publish count for this type of message.

LogSuppressionEngine ( double messagesPerSecond, int burstLimit ) : System

Method Details

IncrementPublishCount() public method

Increments the publish count for this type of message.
public IncrementPublishCount ( ) : MessageSuppression
return MessageSuppression

LogSuppressionEngine() public method

public LogSuppressionEngine ( double messagesPerSecond, int burstLimit ) : System
messagesPerSecond double The number of messages per second that can be generated. Must be greater than zero and less than 1 billion
burstLimit int The maximum number of messages that can be burst at one time.
return System