Method WriteChild
WriteChild<T>(ref UnsafeText, string, ref T, ref LogMemoryManager, ref ArgumentInfo, int)
Writes a child mirror struct as a property
Declaration
bool WriteChild<T>(ref UnsafeText output, string fieldName, ref T field, ref LogMemoryManager memAllocator, ref ArgumentInfo currArgSlot, int depth) where T : unmanaged, ILoggableMirrorStruct
Parameters
Type | Name | Description |
---|---|---|
UnsafeText | output | UnsafeText where to append the text representation |
string | fieldName | Name of the field that can be used by formatter |
T | field | Child mirror struct to write |
LogMemoryManager | memAllocator | |
ArgumentInfo | currArgSlot | Hole that was used to describe the struct in the log message, for instance |
int | depth |
Returns
Type | Description |
---|---|
bool | True if successful |
Type Parameters
Name | Description |
---|---|
T | Child mirror struct - unmanaged, ILoggableMirrorStruct |