C# Class GSF.Diagnostics.LogEventPublisherInternal

A publisher for a specific event of a LogPublisher.
Afficher le fichier Open project: GridProtectionAlliance/gsf Class Usage Examples

Méthodes publiques

Свойство Type Description
ShouldRaiseMessageSupressionNotifications bool

Méthodes publiques

Méthode 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

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

Creates a LogEventPublisherInternal.

Method Details

Publish() public méthode

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
Résultat 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
Résultat bool