C# 클래스 GSF.Diagnostics.LoggerInternal

The fundamental functionality of Logger.
상속: IDisposable
파일 보기 프로젝트 열기: GridProtectionAlliance/gsf 1 사용 예제들

공개 메소드들

메소드 설명
CreateSubscriber ( ) : LogSubscriberInternal

Creates a LogSubscriber that can subscribe to log messages.

CreateType ( Type type ) : LogPublisherInternal

Creates a type topic on a specified type.

Dispose ( ) : void

Gracefully terminate all message routing. Function blocks until all termination is successful.

LoggerInternal ( LoggerInternal &loggerClass ) : System

Creates a LoggerInternal.

OnNewMessage ( LogMessage message, LogPublisherInternal publisher ) : void

Handles the routing of messages through the logging system.

비공개 메소드들

메소드 설명
CalculateRoutingTable ( object sender, EventArgs e ) : void

Recalculates the entire routing table on a separate thread.

CalculateRoutingTableForPublisherSync ( List subscribers, LogPublisherInternal publisher ) : void

This method should be called with a lock on m_syncRoot

RecalculateRoutingTable ( ) : void

Invalidates the current routing table.

RoutingTask ( object sender, EventArgs e ) : void

메소드 상세

CreateSubscriber() 공개 메소드

Creates a LogSubscriber that can subscribe to log messages.
public CreateSubscriber ( ) : LogSubscriberInternal
리턴 LogSubscriberInternal

CreateType() 공개 메소드

Creates a type topic on a specified type.
public CreateType ( Type type ) : LogPublisherInternal
type System.Type the type to create the topic from
리턴 LogPublisherInternal

Dispose() 공개 메소드

Gracefully terminate all message routing. Function blocks until all termination is successful.
public Dispose ( ) : void
리턴 void

LoggerInternal() 공개 메소드

Creates a LoggerInternal.
public LoggerInternal ( LoggerInternal &loggerClass ) : System
loggerClass LoggerInternal
리턴 System

OnNewMessage() 공개 메소드

Handles the routing of messages through the logging system.
public OnNewMessage ( LogMessage message, LogPublisherInternal publisher ) : void
message LogMessage the message to route
publisher LogPublisherInternal the publisher that is originating this message.
리턴 void