Method | Description | |
---|---|---|
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.
|
Method | Description | |
---|---|---|
DebugLog ( ) : System |
Initializes the DebugLog class.
|
public static AddListener ( string>.Action |
||
listenerAction | string>.Action | The listener action. |
return | void |
public static AddListener ( IDebugListener listener ) : void | ||
listener | IDebugListener | The listener. |
return | void |
public static RemoveListener ( string>.Action |
||
listenerAction | string>.Action | The previously registered listener action. |
return | void |
public static RemoveListener ( IDebugListener listener ) : void | ||
listener | IDebugListener | The listener. |
return | void |
public static WriteLine ( string category, string msg ) : void | ||
category | string | The category of the message. |
msg | string | A composite format string. |
return | void |