C# Class GSF.Diagnostics.LogEventPublisherInternal

A publisher for a specific event of a LogPublisher.
ファイルを表示 Open project: GridProtectionAlliance/gsf Class Usage Examples

Public Properties

Property Type Description
ShouldRaiseMessageSupressionNotifications bool

Public Methods

Method Description
Publish ( LogMessageAttributes overriddenAttributes, string message, string details, Exception exception, LogStackMessages initialStackMessage, LogStackTrace initialStackTrace ) : void

Raises a log message with the provided data.

Private Methods

Method Description
LogEventPublisherInternal ( LogMessageAttributes attributes, LogEventPublisherDetails owner, LogPublisherInternal publisher, LoggerInternal logger, int stackTraceDepth, double messagesPerSecond, int burstLimit ) : System

Creates a LogEventPublisherInternal.

Method Details

Publish() public method

Raises a log message with the provided data.
public Publish ( LogMessageAttributes overriddenAttributes, string message, string details, Exception exception, LogStackMessages initialStackMessage, LogStackTrace initialStackTrace ) : void
overriddenAttributes LogMessageAttributes attributes to use with this message
message string
details string A long text field with the details of the message.
exception System.Exception An exception object if one is provided.
initialStackMessage LogStackMessages
initialStackTrace LogStackTrace
return void

Property Details

ShouldRaiseMessageSupressionNotifications public_oe property

Gets/Sets if a log message should be generated when message suppression occurs. Default is true;
public bool ShouldRaiseMessageSupressionNotifications
return bool