Метод | Описание | |
---|---|---|
AddListener ( string>.Action |
Adds an action listener.
|
|
AddListener ( IDebugListener listener ) : void |
Adds a listener.
|
|
RemoveListener ( string>.Action |
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.
|
public static AddListener ( string>.Action |
||
listenerAction | string>.Action | The listener action. |
Результат | void |
public static AddListener ( IDebugListener listener ) : void | ||
listener | IDebugListener | The listener. |
Результат | void |
public static RemoveListener ( string>.Action |
||
listenerAction | string>.Action | The previously registered listener action. |
Результат | void |
public static RemoveListener ( IDebugListener listener ) : void | ||
listener | IDebugListener | The listener. |
Результат | void |
public static WriteLine ( string category, string msg ) : void | ||
category | string | The category of the message. |
msg | string | A composite format string. |
Результат | void |