Skip to content
LeviMC
Home
Projects
Docs
6
LeviLamina
Mod loader for Minecraft Bedrock Edition
LegacyScriptEngine
Runs LLSE script plugins on LeviLamina
lip
General package installer
LeviLauncher
Bedrock launcher for Windows and Android
Be.D.D.
Scripted client input for mod tests
bedboo
Bedrock bots with a mineflayer-compatible API
All repositories on GitHub
Mods
Blog
Community
About
English
English
简体中文
繁體中文
Auto
Light
Dark
Auto
Light
Dark
LeviLamina
User Guides
Developer Guides
API Guides
API Reference
Maintainer Guides
Resources
LeviLamina on GitHub
LeviMC
Home
Projects
Docs
6
LeviLamina
Mod loader for Minecraft Bedrock Edition
LegacyScriptEngine
Runs LLSE script plugins on LeviLamina
lip
General package installer
LeviLauncher
Bedrock launcher for Windows and Android
Be.D.D.
Scripted client input for mod tests
bedboo
Bedrock bots with a mineflayer-compatible API
All repositories on GitHub
Mods
Blog
Community
About
API Reference
On this page
LeviLamina
User Guides
Developer Guides
API Guides
API Reference
Maintainer Guides
Search
Ctrl
K
Loading...
Searching...
No Matches
LogDetails.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/diagnostics/LogAreaID.h"
7
8
// auto generated forward declare list
9
// clang-format off
10
namespace
Core {
class
Path
; }
11
class
LogSettingsUpdater
;
12
// clang-format on
13
14
namespace
BedrockLog {
15
16
struct
LogDetails {
17
public
:
18
// member variables
19
// NOLINTBEGIN
20
::ll::UntypedStorage<8, 80>
mUnkd6e125;
21
::ll::UntypedStorage<1, 1>
mUnk3fa36f;
22
::ll::UntypedStorage<1, 1>
mUnk9c26d4;
23
::ll::UntypedStorage<1, 1>
mUnk9ff44e;
24
::ll::UntypedStorage<8, 32>
mUnk13ee41;
25
::ll::UntypedStorage<8, 32>
mUnkdd0f61;
26
::ll::UntypedStorage<8, 296>
mUnk52b3f7;
27
::ll::UntypedStorage<1, 1>
mUnk98388d;
28
::ll::UntypedStorage<1, 1>
mUnkbd562e;
29
::ll::UntypedStorage<1, 1>
mUnk8dc1a4;
30
::ll::UntypedStorage<1, 1>
mUnkef8f13;
31
::ll::UntypedStorage<1, 1>
mUnk94b151;
32
::ll::UntypedStorage<1, 1>
mUnk39777d;
33
::ll::UntypedStorage<1, 1>
mUnk2f550b;
34
::ll::UntypedStorage<1, 1>
mUnke5f581;
35
::ll::UntypedStorage<1, 1>
mUnkf140b5;
36
::ll::UntypedStorage<1, 1>
mUnkd577e9;
37
::ll::UntypedStorage<4, 4>
mUnk2ef1c2;
38
::ll::UntypedStorage<8, 8>
mUnkbdf6bc;
39
::ll::UntypedStorage<8, 8>
mUnk3dc6d5;
40
::ll::UntypedStorage<1, 1>
mUnk381674;
41
::ll::UntypedStorage<8, 8>
mUnk4c7730;
42
::ll::UntypedStorage<8, 8>
mUnk9d155d;
43
::ll::UntypedStorage<4, 4>
mUnke1734c;
44
::ll::UntypedStorage<8, 16>
mUnka42560;
45
::ll::UntypedStorage<8, 16>
mUnkba0ae8;
46
// NOLINTEND
47
48
public
:
49
// prevent constructor by default
50
LogDetails& operator=(LogDetails
const
&);
51
LogDetails(LogDetails
const
&);
52
LogDetails();
53
54
public
:
55
// member functions
56
// NOLINTBEGIN
57
MCAPI
void
_appendLogEntryMetadata(
58
::std::string& logEntry,
59
::std::string_view timestamp,
60
::LogAreaID area,
61
uint priority,
62
::std::string_view functionName,
63
int
lineNumber,
64
int
_messageId
65
);
66
67
MCAPI
void
68
_log(::LogAreaID _area, uint _priority,
char
const
* _function,
int
line,
int
_messageId, ::std::string message);
69
70
MCNAPI
void
_logToFile
(::std::string
const
& debugEvent);
71
72
MCNAPI
void
_openLogFile
();
73
74
MCNAPI
void
closeLog
();
75
76
MCNAPI
void
createLog
(
77
::Core::Path
const
& _logFilePath,
78
::std::string
const
& _logFileName,
79
::std::string
const
& _debugLogTimestamp,
80
bool
createLogFile,
81
::LogSettingsUpdater
* _settings,
82
double
const
_logCycleInS
83
);
84
85
#ifdef LL_PLAT_S
86
MCNAPI
void
updateLogFilter(
87
::std::unique_ptr<::LogSettingsUpdater> options,
88
::std::string
const
& filterType,
89
::std::vector<::std::string>
const
& filters,
90
::std::string& result,
91
bool
toggle
92
);
93
#endif
94
95
MCNAPI
void
updateLogSetting
(::std::string
const
& setting,
bool
newValue);
96
// NOLINTEND
97
};
98
99
}
// namespace BedrockLog
Core::Path
Definition
Path.h:10
LogSettingsUpdater
Definition
LogSettingsUpdater.h:5
BedrockLog::LogDetails::_logToFile
MCAPI void _logToFile(::std::string const &debugEvent)
BedrockLog::LogDetails::closeLog
MCAPI void closeLog()
BedrockLog::LogDetails::_openLogFile
MCAPI void _openLogFile()
BedrockLog::LogDetails::createLog
MCAPI void createLog(::Core::Path const &_logFilePath, ::std::string const &_logFileName, ::std::string const &_debugLogTimestamp, bool createLogFile, ::LogSettingsUpdater *_settings, double const _logCycleInS)
BedrockLog::LogDetails::updateLogSetting
MCAPI void updateLogSetting(::std::string const &setting, bool newValue)
ll::UntypedStorage
Definition
Alias.h:14
src
mc
deps
core
debug
bedrock_log
LogDetails.h
Generated on
for LeviLamina by
1.16.1