LeviLamina
Loading...
Searching...
No Matches
LogLevel.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5namespace Bedrock {
6
7class LogLevel {
8public:
9 // LogLevel inner types declare
10 // clang-format off
11 struct InPublishT;
12 // clang-format on
13
14 // LogLevel inner types define
15 enum class Type : uchar {
16 // bitfield representation
17 Verbose = 1 << 0,
18 Info = 1 << 1,
19 Warning = 1 << 2,
20 Error = 1 << 3,
21 };
22
23 struct InPublishT {};
24
25public:
26 // member variables
27 // NOLINTBEGIN
28 ::ll::TypedStorage<1, 1, ::Bedrock::LogLevel::Type> mType;
29 ::ll::TypedStorage<1, 1, bool> mLogInPublish;
30 // NOLINTEND
31
32public:
33 // static variables
34 // NOLINTBEGIN
35 MCAPI static ::Bedrock::LogLevel const& Error();
36
37 MCAPI static ::Bedrock::LogLevel const& Info();
38
39 MCAPI static ::Bedrock::LogLevel const& Warning();
40 // NOLINTEND
41};
42
43} // namespace Bedrock
Definition LogLevel.h:7
Definition LogLevel.h:23