CommonLibSSE NG
Loading...
Searching...
No Matches
GFxLogConstants.h
Go to the documentation of this file.
1
#pragma once
2
3
namespace
RE
4
{
5
class
GFxLogConstants
6
{
7
public
:
8
enum class
LogMessageType
9
{
10
// *** Channels
11
12
// The idea of message channels is that they correspond to separate
13
// logs that can be displayed individually. Several message sub-types
14
// can, however, be generated within the same channel. End users may
15
// choose to ignore the recommended channel structure and either
16
// combine all of the messages (default output), or separate them
17
// further into individual logs.
18
19
kChannel_General
= 0x10,
// Used for end-user messages about I/O, errors, etc.
20
kChannel_Script
= 0x20,
// Used for script-related messages (bad function parameters, etc.)
21
kChannel_Parse
= 0x30,
// Used for parse log generated during loading
22
kChannel_Action
= 0x40,
// Used for action-script instruction execution log
23
kChannel_Debug
= 0x50,
// Reserved flag for mapping GDebug messages into single log object.
24
kChannel_Mask
= 0xF0,
25
// Standard channel sub-types
26
kMessageType_Error
= 0,
27
kMessageType_Warning
= 1,
28
kMessageType_Message
= 2,
29
30
// *** Combined Log Message types
31
32
// General I/O errors and warnings
33
kError
=
kChannel_General
|
kMessageType_Error
,
34
kWarning
=
kChannel_General
|
kMessageType_Warning
,
35
kMessage
=
kChannel_General
|
kMessageType_Message
,
36
// Script errors and warnings
37
kScriptError
=
kChannel_Script
|
kMessageType_Error
,
38
kScriptWarning
=
kChannel_Script
|
kMessageType_Warning
,
39
kScriptMessage
=
kChannel_Script
|
kMessageType_Message
,
40
// Parse log messages (generated based on verbosity settings during loading)
41
kParse
=
kChannel_Parse
| 0,
42
kParseShape
=
kChannel_Parse
| 1,
43
kParseMorphShape
=
kChannel_Parse
| 2,
44
kParseAction
=
kChannel_Parse
| 3,
45
// Action
46
kAction
=
kChannel_Action
| 0
47
};
48
};
49
static_assert
(
sizeof
(GFxLogConstants) == 0x1);
50
}
RE::GFxLogConstants
Definition
GFxLogConstants.h:6
RE::GFxLogConstants::LogMessageType
LogMessageType
Definition
GFxLogConstants.h:9
RE::GFxLogConstants::LogMessageType::kMessageType_Message
@ kMessageType_Message
RE::GFxLogConstants::LogMessageType::kParseMorphShape
@ kParseMorphShape
RE::GFxLogConstants::LogMessageType::kChannel_Parse
@ kChannel_Parse
RE::GFxLogConstants::LogMessageType::kMessageType_Error
@ kMessageType_Error
RE::GFxLogConstants::LogMessageType::kParseAction
@ kParseAction
RE::GFxLogConstants::LogMessageType::kParseShape
@ kParseShape
RE::GFxLogConstants::LogMessageType::kScriptMessage
@ kScriptMessage
RE::GFxLogConstants::LogMessageType::kChannel_Script
@ kChannel_Script
RE::GFxLogConstants::LogMessageType::kChannel_Debug
@ kChannel_Debug
RE::GFxLogConstants::LogMessageType::kMessageType_Warning
@ kMessageType_Warning
RE::GFxLogConstants::LogMessageType::kScriptError
@ kScriptError
RE::GFxLogConstants::LogMessageType::kMessage
@ kMessage
RE::GFxLogConstants::LogMessageType::kChannel_Mask
@ kChannel_Mask
RE::GFxLogConstants::LogMessageType::kError
@ kError
RE::GFxLogConstants::LogMessageType::kChannel_Action
@ kChannel_Action
RE::GFxLogConstants::LogMessageType::kWarning
@ kWarning
RE::GFxLogConstants::LogMessageType::kScriptWarning
@ kScriptWarning
RE::GFxLogConstants::LogMessageType::kAction
@ kAction
RE::GFxLogConstants::LogMessageType::kParse
@ kParse
RE::GFxLogConstants::LogMessageType::kChannel_General
@ kChannel_General
RE
Definition
AbsorbEffect.h:6
CommonLibSSE-NG
include
RE
G
GFxLogConstants.h
Generated by
1.9.7