docs.unity3d.com
Search Results for

    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 Debug.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
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)