docs.unity.cn
    Show / Hide Table of Contents

    Method Log

    Log(String)

    Log can be used to write a Debug level log message.

    Declaration
    [Conditional("ADDRESSABLES_LOG_ALL")]
    public static void Log(string msg)
    Parameters
    Type Name Description
    String msg

    The msg to log

    Remarks

    Log works the same as Log. Addressables only logs warnings and errors so by default this function does not log anything.

    Examples
                Addressables.Log("Unloading bundle");
    
            Addressables.Log("<color=red>Unloading bundle</color> ");
    See Also
    Enable all logging
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Monday, June 26, 2023