docs.unity3d.com
    Show / Hide Table of Contents

    Class XRToolsLoggingUtils

    Inheritance
    Object
    XRToolsLoggingUtils
    Namespace: Unity.XRTools.Utils
    Syntax
    public static class XRToolsLoggingUtils : object

    Methods

    Log(String, UnityEngine.Object)

    Debug.Log, but will not print anything if tests are being run

    Declaration
    public static void Log(string message, UnityEngine.Object context = null)
    Parameters
    Type Name Description
    String message
    UnityEngine.Object context

    LogError(String, UnityEngine.Object)

    Debug.LogError, but will not print anything if tests are being run

    Declaration
    public static void LogError(string message, UnityEngine.Object context = null)
    Parameters
    Type Name Description
    String message
    UnityEngine.Object context

    LogException(Exception, UnityEngine.Object)

    Debug.LogException, but will not print anything if tests are being run

    Declaration
    public static void LogException(Exception exception, UnityEngine.Object context = null)
    Parameters
    Type Name Description
    Exception exception
    UnityEngine.Object context

    LogWarning(String, UnityEngine.Object)

    Debug.LogWarning, but will not print anything if tests are being run

    Declaration
    public static void LogWarning(string message, UnityEngine.Object context = null)
    Parameters
    Type Name Description
    String message
    UnityEngine.Object context
    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023