Class XRLoggingUtils
Utility methods for logging.
Inherited Members
Namespace: Unity.XR.CoreUtils
Assembly: solution.dll
Syntax
public static class XRLoggingUtils
Remarks
These methods mirror the standard Debug log methods, but do not log
anything if tests are being run via command line (using -runTests).
See Running tests from the command line for information about running tests.
Methods
| Name | Description |
|---|---|
| Log(string, Object) | Same as Log(object, Object), but does not print anything if tests are being run. |
| LogError(string, Object) | Same as LogError(object, Object), but does not print anything if tests are being run. |
| LogException(Exception, Object) | Same as LogException(Exception, Object), but does not print anything if tests are being run. |
| LogWarning(string, Object) | Same as LogWarning(object, Object), but does not print anything if tests are being run. |