Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Logging
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Logging/StructuredLog.h |
| Include | #include "Logging/StructuredLog.h" |
Syntax
class FLogRecord
Remarks
Record of a log event.
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | FormatMessageTo
(
FWideStringBuilderBase& Out |
Formats the message using the format, template, and fields. | |
| void | FormatMessageTo
(
FUtf8StringBuilderBase& Out |
Formats the message using the format, template, and fields. | |
| const FName & | GetCategory () |
The optional name of the category for the log record. None when omitted. | |
| const FCbObject & | GetFields () |
The fields referenced by the format string, along with optional additional fields. | |
| const ANSICHAR * | GetFile () |
The optional source file path for the code that created the log record. Null when omitted. | |
| const TCHAR * | GetFormat () |
The format string that serves as the message for the log record. | |
| int32 | GetLine () |
The optional source line number for the code that created the log record. 0 when omitted. | |
| const FLogTemplate * | GetTemplate () |
The optional template for the format string. | |
| const TCHAR * | GetTextKey () |
The key of the localized text. Null when non-localized. | |
| const TCHAR * | The namespace of the localized text. Null when non-localized. | ||
| const FLogTime & | GetTime () |
The time at which the log record was created. | |
| ELogVerbosity::Type | GetVerbosity () |
The verbosity level of the log record. Must be a valid level with no flags or special values. | |
| void | SetCategory
(
const FName& InCategory |
||
| void | |||
| void | SetFile
(
const ANSICHAR* InFile |
||
| void | SetFormat
(
const TCHAR* InFormat |
||
| void | SetLine
(
int32 InLine |
||
| void | SetTemplate
(
const FLogTemplate* InTemplate |
||
| void | SetTextKey
(
const TCHAR* InTextKey |
||
| void | SetTextNamespace
(
const TCHAR* InTextNamespace |
||
| void | |||
| void | SetVerbosity
(
ELogVerbosity::Type InVerbosity |