Class DebugUtils
Namespace: Unity.XRTools.Utils
Syntax
public static class DebugUtils
Methods
Log(String, Object)
Debug.Log, but will not print anything if tests are being run
Declaration
public static void Log(string message, Object context = null)
Parameters
Type | Name | Description |
---|---|---|
String | message | |
Object | context |
LogError(String, Object)
Debug.LogError, but will not print anything if tests are being run
Declaration
public static void LogError(string message, Object context = null)
Parameters
Type | Name | Description |
---|---|---|
String | message | |
Object | context |
LogException(Exception, Object)
Debug.LogException, but will not print anything if tests are being run
Declaration
public static void LogException(Exception exception, Object context = null)
Parameters
Type | Name | Description |
---|---|---|
Exception | exception | |
Object | context |
LogWarning(String, Object)
Debug.LogWarning, but will not print anything if tests are being run
Declaration
public static void LogWarning(string message, Object context = null)
Parameters
Type | Name | Description |
---|---|---|
String | message | |
Object | context |