Delegate LogWriterUtils.OutputWriterHandler
Defines a delegate to handle writing the field data for context data structs.
Namespace: Unity.Logging
Assembly: Unity.Logging.dll
Syntax
public delegate LogWriterUtils.ContextWriteResult LogWriterUtils.OutputWriterHandler(ref FormatterStruct formatter, ref UnsafeText outputUnsafeText, ref BinaryParser mem, IntPtr memAllocator, ref ArgumentInfo holeInfo)
Parameters
Type | Name | Description |
---|---|---|
Formatter |
formatter | Formatter that should be used to populate output text |
Unsafe |
outputUnsafeText | Reference to a UnsafeListString object to which the delegate writes the struct's data. |
Binary |
mem | Pointer + size of data to parse |
Int |
memAllocator | Memory manager that owns the binary data |
Argument |
holeInfo | Hole setup, like format specifiers |
Returns
Type | Description |
---|---|
Log |
Value indicating delegate successfully handled the data or not. |
Remarks
The Log
NOTE: Burst FunctionPointers only support delegates with primitive parameter types; structs cannot be passed, even by reference.