Navigation
Unreal Engine C++ API Reference > Plugins > NetcodeUnitTest
References
Module | NetcodeUnitTest |
Header | /Engine/Plugins/NetcodeUnitTest/NetcodeUnitTest/Source/NetcodeUnitTest/Public/UnitLogging.h |
Include | #include "UnitLogging.h" |
Syntax
enum ELogType
{
None = 0x00000000,
OriginUnitTest = 0x00000001,
OriginEngine = 0x00000002,
OriginNet = 0x00000004,
OriginConsole = 0x00000008,
OriginVoid = 0x00000010,
OriginMask = OriginUnitTest | OriginEngine | OriginNet | OriginConsole | OriginVoid,
Local = 0x00000080,
Server = 0x00000100,
Client = 0x00000200,
GlobalStatus = 0x00000400,
UnitStatus = 0x00000800,
StatusImportant = 0x00001000,
StatusSuccess = 0x00002000 | StatusImportant,
StatusWarning = 0x00004000 | StatusImportant,
StatusFailure = 0x00008000 | StatusImportant,
StatusError = 0x00010000 | StatusFailure,
StatusDebug = 0x00020000,
StatusAdvanced = 0x00040000,
StatusVerbose = 0x00080000,
StatusAutomation = 0x00100000,
StyleBold = 0x00200000,
StyleItalic = 0x00400000,
StyleUnderline = 0x00800000,
StyleMonospace = 0x01000000,
All = 0xFFFFFFFF,
FocusMask = OriginConsole,
}
Values
Name | Description |
---|---|
None | |
OriginUnitTest | What part of the engine the log message originates from locally (may not be set) |
OriginEngine | |
OriginNet | |
OriginConsole | |
OriginVoid | |
OriginMask | |
Local | What class of unit test log this is |
Server | |
Client | |
GlobalStatus | What class of unit test status log this is (UNIT_LOG vs UNIT_STATUS_LOG/STATUS_LOG) |
UnitStatus | |
StatusImportant | Status log modifiers (used with the UNIT_LOG and UNIT_STATUS_LOG/STATUS_LOG macro's) |
StatusSuccess | |
StatusWarning | |
StatusFailure | |
StatusError | |
StatusDebug | |
StatusAdvanced | |
StatusVerbose | |
StatusAutomation | |
StyleBold | Log output style modifiers |
StyleItalic | |
StyleUnderline | |
StyleMonospace | |
All | |
FocusMask | Log lines that should request focus when logged (i.e. if not displayed in the current tab, switch to a tab that does display) |
Remarks
Enums Used to help identify what type of log is being processed
NOTE: This enum is not compatible with UENUM (that requires uint8)