docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class Log

    Logging class that the SDK uses for logging. Essentially a wrapper around Debug.Log/Console.WriteLine.

    Inheritance
    object
    Log
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.SimulationPro
    Assembly: Unity.SimulationPro.Capture.dll
    Syntax
    public static class Log

    Properties

    level

    Get/Set the logging level.

    Declaration
    public static Log.Level level { get; set; }
    Property Value
    Type Description
    Log.Level

    Methods

    E(string, bool)

    Log Error level message to the file.

    Declaration
    public static void E(string message, bool logToConsole = false)
    Parameters
    Type Name Description
    string message

    Error log message.

    bool logToConsole

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

    F(string, bool)

    Log Fatal level message to the file.

    Declaration
    public static void F(string message, bool logToConsole = false)
    Parameters
    Type Name Description
    string message

    Fatal log message.

    bool logToConsole

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

    I(string, bool)

    Log info level message to the file.

    Declaration
    public static void I(string message, bool logToConsole = false)
    Parameters
    Type Name Description
    string message

    Info log message.

    bool logToConsole

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

    V(string, bool)

    Log Verbose level message to the file.

    Declaration
    public static void V(string message, bool logToConsole = false)
    Parameters
    Type Name Description
    string message

    Verbose log message.

    bool logToConsole

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

    W(string, bool)

    Log Warning level message to the file.

    Declaration
    public static void W(string message, bool logToConsole = false)
    Parameters
    Type Name Description
    string message

    Info warning message.

    bool logToConsole

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

    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 © 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)