docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Write

    Write(Level, string, bool)

    Write the log message to the player log file and/or console.

    Declaration
    public static void Write(Log.Level level, string message, bool logToConsole)
    Parameters
    Type Name Description
    Log.Level level

    Log Level

    string message

    Log message

    bool logToConsole

    boolean indicating if the log message is to be displayed on the editor console.

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