{!See https://docs.google.com/document/d/1takg_GmIBBKKTj-GHZCwzxohpQz7Bhekivkk72kYMtE/edit for reference implementation of OneTrust, dataLayer and GTM} {!OneTrust Cookies Consent} {!OneTrust Cookies Consent end} {!dataLayer initialization push} {!dataLayer initialization push end} {!Google Tag Manager} {!Google Tag Manager end} Method Log | Scriptable Build Pipeline | 2.0.2
docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Log

    Log(string)

    Logs general information.

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

    The message to display.

    Log(object)

    Logs general information.

    Declaration
    [Conditional("DEBUG")]
    public static void Log(object msg)
    Parameters
    Type Name Description
    object msg

    The message object to display.

    Log(string, params object[])

    Logs general information.

    Declaration
    [Conditional("DEBUG")]
    public static void Log(string msg, params object[] attrs)
    Parameters
    Type Name Description
    string msg

    The message to display.

    object[] attrs

    The objects formatted in the message.

    In This Article
    Back to top
    Copyright © 2023 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)