C# 클래스 GSF.Diagnostics.LogSubscriber

Subscribes to log events.
상속: IDisposable
파일 보기 프로젝트 열기: GridProtectionAlliance/gsf 1 사용 예제들

공개 메소드들

메소드 설명
Clear ( ) : void

Clears all subscriptions

Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

IgnoreAll ( VerboseLevel level ) : void

Ignore all messages of this verbose level.

IgnoreAssembly ( Assembly assembly, VerboseLevel level ) : void

Ignore all messages of this verbose level.

IgnoreAssembly ( string assemblyExpression, VerboseLevel level ) : void

Ignore all messages of this verbose level.

IgnoreType ( Type type, VerboseLevel level ) : void

Ignore all messages of this verbose level.

IgnoreType ( string typeExpression, VerboseLevel level ) : void

Ignore all messages of this verbose level.

SubscribeToAll ( VerboseLevel level ) : void

Subscribes to all publishers with the specified verbose level.

SubscribeToAssembly ( Assembly assembly, VerboseLevel level ) : void

Subscribes to the publisher of the specified assembly with the specified verbose level.

SubscribeToAssembly ( string assemblyExpression, VerboseLevel level ) : void

Subscribes to the publisher of the specified assembly with the specified verbose level.

SubscribeToType ( Type type, VerboseLevel level ) : void

Subscribes to the publisher of the specified type with the specified verbose level.

SubscribeToType ( string typeExpression, VerboseLevel level ) : void

Subscribes to the publisher of the specified type expression with the specified verbose level.

비공개 메소드들

메소드 설명
LogSubscriber ( LogSubscriberInternal subscriber ) : System

Creates a LogSubscriber

메소드 상세

Clear() 공개 메소드

Clears all subscriptions
public Clear ( ) : void
리턴 void

Dispose() 공개 메소드

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
리턴 void

IgnoreAll() 공개 메소드

Ignore all messages of this verbose level.
public IgnoreAll ( VerboseLevel level ) : void
level VerboseLevel
리턴 void

IgnoreAssembly() 공개 메소드

Ignore all messages of this verbose level.
public IgnoreAssembly ( Assembly assembly, VerboseLevel level ) : void
assembly System.Reflection.Assembly
level VerboseLevel
리턴 void

IgnoreAssembly() 공개 메소드

Ignore all messages of this verbose level.
public IgnoreAssembly ( string assemblyExpression, VerboseLevel level ) : void
assemblyExpression string
level VerboseLevel
리턴 void

IgnoreType() 공개 메소드

Ignore all messages of this verbose level.
public IgnoreType ( Type type, VerboseLevel level ) : void
type System.Type
level VerboseLevel
리턴 void

IgnoreType() 공개 메소드

Ignore all messages of this verbose level.
public IgnoreType ( string typeExpression, VerboseLevel level ) : void
typeExpression string
level VerboseLevel
리턴 void

SubscribeToAll() 공개 메소드

Subscribes to all publishers with the specified verbose level.
public SubscribeToAll ( VerboseLevel level ) : void
level VerboseLevel
리턴 void

SubscribeToAssembly() 공개 메소드

Subscribes to the publisher of the specified assembly with the specified verbose level.
public SubscribeToAssembly ( Assembly assembly, VerboseLevel level ) : void
assembly System.Reflection.Assembly
level VerboseLevel
리턴 void

SubscribeToAssembly() 공개 메소드

Subscribes to the publisher of the specified assembly with the specified verbose level.
public SubscribeToAssembly ( string assemblyExpression, VerboseLevel level ) : void
assemblyExpression string An expression of the name of an assembly. Must include a * or ? to be considered an expression.
level VerboseLevel The level
리턴 void

SubscribeToType() 공개 메소드

Subscribes to the publisher of the specified type with the specified verbose level.
public SubscribeToType ( Type type, VerboseLevel level ) : void
type System.Type
level VerboseLevel
리턴 void

SubscribeToType() 공개 메소드

Subscribes to the publisher of the specified type expression with the specified verbose level.
public SubscribeToType ( string typeExpression, VerboseLevel level ) : void
typeExpression string An expression of the name of a type. Must include a * or ? to be considered an expression.
level VerboseLevel The level
리턴 void