Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FLogRecord
Description
Converts this record into a common format string and compatible fields.
The common format string uses '{{' as a literal '{' and uses as a literal '}}'. The common format string contains no format specifiers or format argument modifiers. The common format string uses field names matching [A-Za-z0-9_]+.
When a compatible field is an object, it will have a string field named $text containing the formatted value. A compatible field will never be an array.
| Name | ConvertToCommonLog |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Logging/StructuredLog.h |
| Include Path | #include "Logging/StructuredLog.h" |
| Source | /Engine/Source/Runtime/Core/Private/Logging/StructuredLog.cpp |
void ConvertToCommonLog
(
FUtf8StringBuilderBase & OutFormat,
FCbWriter & OutFields
) const
Parameters
| Name | Remarks |
|---|---|
| OutFormat | Appended with a transformed version of the format from Template. |
| OutFields | Must be within an object scope. Appended with a compatible version of Fields. |