Class MessageParser
Static class used to parse message part of the log message.
Inherited Members
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 |