ModDebugHandler Class |
Namespace: UMod.Debugging
public sealed class ModDebugHandler : IModDebug
The ModDebugHandler type exposes the following members.
Name | Description | |
---|---|---|
ReceiverCount |
Get the number of IModDebugReceiver registered with this handler.
| |
Receivers |
Get an enumerable collection of all registered IModDebugReceiver instances.
| |
UseStackTrace |
Should the handler generate a stack trace for each logged message.
By default, stack traces are enabled.
note that generating a stack trace for each log message will have an small impact on performance.
|
Name | Description | |
---|---|---|
AddReceiver |
Add the specified IModDebugReceiver to this handler in order to recieve logged messages.
| |
LogError(String) |
Log an error to the debug handler.
| |
LogError(String, Object) |
Log an error to the debug handler.
| |
LogException |
Log an exception to the debug handler.
| |
LogMessage(String) |
Log a message to the debug handler.
| |
LogMessage(String, Object) |
Log a message to the debug handler.
| |
LogWarning(String) |
Log a warning to the debug handler.
| |
LogWarning(String, Object) |
Log a warning to the debug handler.
| |
RemoveAllReceivers |
Causes all registered IModDebugReceiver instances to be removed from this handler.
| |
RemoveReceiver |
Remove the specified IModDebugReceiver from this handler.
|