Arcade
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events
GameAPI.Debug Class Reference

Provides tools for developers to diagnose issues with their games. More...

Static Public Member Functions

static void Log (object value)
 Emits a debug message containing the given value converted to a System.String. More...
 
static void Log (string format, params object[] args)
 Emits a debug message using the given .NET-style formatting string and arguments. More...
 
static void Error (object value)
 Emits an error message containing the given value converted to a System.String. More...
 
static void Error (string format, params object[] args)
 Emits an error message using the given .NET-style formatting string and arguments. More...
 
static void Assert (bool value, object message)
 Only emits the specified message value if the given assertion is false. More...
 
static void Assert (bool value, string format, params object[] args)
 Only emits the specified formatted message if the given assertion is false. More...
 
static IDisposable Profile (string messageFormat, params object[] args)
 

Events

static MessageDelegate ErrorMessage
 Event called each time an error is logged. More...
 
static MessageDelegate LogMessage
 Event called each time a non-error is logged. More...
 

Detailed Description

Provides tools for developers to diagnose issues with their games.

Member Function Documentation

static void GameAPI.Debug.Assert ( bool  value,
object  message 
)
inlinestatic

Only emits the specified message value if the given assertion is false.

static void GameAPI.Debug.Assert ( bool  value,
string  format,
params object[]  args 
)
inlinestatic

Only emits the specified formatted message if the given assertion is false.

static void GameAPI.Debug.Error ( object  value)
inlinestatic

Emits an error message containing the given value converted to a System.String.

static void GameAPI.Debug.Error ( string  format,
params object[]  args 
)
inlinestatic

Emits an error message using the given .NET-style formatting string and arguments.

static void GameAPI.Debug.Log ( object  value)
inlinestatic

Emits a debug message containing the given value converted to a System.String.

static void GameAPI.Debug.Log ( string  format,
params object[]  args 
)
inlinestatic

Emits a debug message using the given .NET-style formatting string and arguments.

static IDisposable GameAPI.Debug.Profile ( string  messageFormat,
params object[]  args 
)
inlinestatic

Event Documentation

MessageDelegate GameAPI.Debug.ErrorMessage
static

Event called each time an error is logged.

MessageDelegate GameAPI.Debug.LogMessage
static

Event called each time a non-error is logged.