C# 클래스 GSF.Diagnostics.LogEventPublisherInternal

A publisher for a specific event of a LogPublisher.
파일 보기 프로젝트 열기: GridProtectionAlliance/gsf 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
ShouldRaiseMessageSupressionNotifications bool

공개 메소드들

메소드 설명
Publish ( LogMessageAttributes overriddenAttributes, string message, string details, Exception exception, LogStackMessages initialStackMessage, LogStackTrace initialStackTrace ) : void

Raises a log message with the provided data.

비공개 메소드들

메소드 설명
LogEventPublisherInternal ( LogMessageAttributes attributes, LogEventPublisherDetails owner, LogPublisherInternal publisher, LoggerInternal logger, int stackTraceDepth, double messagesPerSecond, int burstLimit ) : System

Creates a LogEventPublisherInternal.

메소드 상세

Publish() 공개 메소드

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
리턴 void

프로퍼티 상세

ShouldRaiseMessageSupressionNotifications 공개적으로 프로퍼티

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