docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class MessageParser

    Static class used to parse message part of the log message.

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

    Methods

    FindNextParseStringSegment(in byte*, in int, ref ParseSegment, out ParseSegment)

    Parses the UTF8 string and returns the argument if it was found

    Declaration
    public static MessageParser.ParseContextResult FindNextParseStringSegment(in byte* rawBuffer, in int rawBufferLength, ref ParseSegment currMsgSegment, out ParseSegment argSlot)
    Parameters
    Type Name Description
    byte* rawBuffer

    UTF8 string pointer

    int rawBufferLength

    UTF8 string length in bytes

    ParseSegment currMsgSegment

    Segment in the string to parse. Will be changed by the method

    ParseSegment argSlot

    Argument that was found

    Returns
    Type Description
    MessageParser.ParseContextResult

    Result of the parsing

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