docs.unity.cn
    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 Copyright © 2021 Unity Technologies
    Generated by DocFX
    on Thursday, December 2, 2021
    Terms of use