Class MessageParser
Static class used to parse message part of the log message.
Inherited Members
Namespace: Unity.Logging
Syntax
public static class MessageParser
Methods
FindNextParseStringSegment(in Byte*, in Int32, 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 |
Int32 | 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 |