Class MagicLeapLogger
Logging class that collects various logging facilities under one static class.
Inherited Members
Namespace: UnityEngine.XR.MagicLeap
Syntax
public static class MagicLeapLogger
Methods
Assert(Boolean, String, String, Object[])
Assert
Declaration
[Conditional("DEVELOPMENT_BUILD")]
public static void Assert(bool condition, string tag, string format, params object[] args)
Parameters
Type | Name | Description |
---|---|---|
Boolean | condition | Condition to test against |
String | tag | Reference Tag |
String | format | String formatting |
Object[] | args | Arguments to pass into |
AssertError(Boolean, String, String, Object[])
Assert and Error
Declaration
public static void AssertError(bool condition, string tag, string format, params object[] args)
Parameters
Type | Name | Description |
---|---|---|
Boolean | condition | Condition to test against |
String | tag | Reference Tag |
String | format | String formatting |
Object[] | args | Arguments to pass into |
Debug(String, String, Object[])
Log a Debug message
Declaration
[Conditional("DEVELOPMENT_BUILD")]
public static void Debug(string tag, string format, params object[] args)
Parameters
Type | Name | Description |
---|---|---|
String | tag | Reference Tag |
String | format | String Format for the message |
Object[] | args | Arguments to pass into |
Error(String, String, Object[])
Log an Error message
Declaration
public static void Error(string tag, string format, params object[] args)
Parameters
Type | Name | Description |
---|---|---|
String | tag | Reference Tag |
String | format | String Format for the message |
Object[] | args | Arguments to pass into |
Warning(String, String, Object[])
Log a Warning message
Declaration
public static void Warning(string tag, string format, params object[] args)
Parameters
Type | Name | Description |
---|---|---|
String | tag | Reference Tag |
String | format | String Format for the message |
Object[] | args | Arguments to pass into |