docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class LogItem

    Encapsulates a single log message.

    Inheritance
    object
    LogItem
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: GLTFast.Logging
    Assembly: solution.dll
    Syntax
    [Serializable]
    public class LogItem

    Constructors

    LogItem(LogType, LogCode, params string[])

    Default constructor

    Declaration
    public LogItem(LogType type, LogCode code, params string[] messages)
    Parameters
    Type Name Description
    LogType type

    The severeness type of the log message

    LogCode code

    Message code

    string[] messages

    Additional, optional message parts

    Properties

    Code

    Message code

    Declaration
    public LogCode Code { get; }
    Property Value
    Type Description
    LogCode

    Messages

    Additional, optional message parts

    Declaration
    public string[] Messages { get; }
    Property Value
    Type Description
    string[]

    Type

    The severeness type of the log message.

    Declaration
    public LogType Type { get; }
    Property Value
    Type Description
    LogType

    Methods

    Log()

    Logs the message to the console

    Declaration
    public void Log()

    ToString()

    Returns the full log message

    Declaration
    public override string ToString()
    Returns
    Type Description
    string

    Log message

    Overrides
    object.ToString()
    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)