C# 클래스 SteamKit2.DebugLog

Represents the root debug logging functionality.
파일 보기 프로젝트 열기: Top-Cat/SteamBot 1 사용 예제들

공개 메소드들

메소드 설명
AddListener ( string>.Action listenerAction ) : void

Adds an action listener.

AddListener ( IDebugListener listener ) : void

Adds a listener.

RemoveListener ( string>.Action listenerAction ) : void

Removes a listener.

RemoveListener ( IDebugListener listener ) : void

Removes a listener.

WriteLine ( string category, string msg ) : void

Writes a line to the debug log, informing all listeners.

비공개 메소드들

메소드 설명
DebugLog ( ) : System

Initializes the DebugLog class.

메소드 상세

AddListener() 공개 정적인 메소드

Adds an action listener.
public static AddListener ( string>.Action listenerAction ) : void
listenerAction string>.Action The listener action.
리턴 void

AddListener() 공개 정적인 메소드

Adds a listener.
public static AddListener ( IDebugListener listener ) : void
listener IDebugListener The listener.
리턴 void

RemoveListener() 공개 정적인 메소드

Removes a listener.
public static RemoveListener ( string>.Action listenerAction ) : void
listenerAction string>.Action The previously registered listener action.
리턴 void

RemoveListener() 공개 정적인 메소드

Removes a listener.
public static RemoveListener ( IDebugListener listener ) : void
listener IDebugListener The listener.
리턴 void

WriteLine() 공개 정적인 메소드

Writes a line to the debug log, informing all listeners.
public static WriteLine ( string category, string msg ) : void
category string The category of the message.
msg string A composite format string.
리턴 void