docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Log

    Log(object, LogLevelID, string)

    Logs a message at the specified log level.

    Declaration
    public void Log(object invoker, LogLevelID logLevel, string message)
    Parameters
    Type Name Description
    object invoker

    The object issuing the log.

    LogLevelID logLevel

    The log level for the message.

    string message

    The message to log.

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