LeviLamina
Loading...
Searching...
No Matches
LoggingServiceProvider.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/deps/scripting/runtime/Result_deprecated.h"
7
#include "mc/editor/LogChannel.h"
8
#include "mc/editor/logging/LogLevel.h"
9
10
// auto generated forward declare list
11
// clang-format off
12
class
HashedString
;
13
class
Player
;
14
namespace
Bedrock::PubSub {
class
Subscription; }
15
namespace
Editor {
class
LogMessage; }
16
// clang-format on
17
18
namespace
Editor::Services {
19
20
class
LoggingServiceProvider
{
21
public
:
22
// virtual functions
23
// NOLINTBEGIN
24
// vIndex: 0
25
virtual
~LoggingServiceProvider
() =
default
;
26
27
// vIndex: 1
28
virtual
void
29
log(::std::string&&,
30
::Player
*,
31
::Editor::LogLevel,
32
::std::vector<::HashedString>&&,
33
::Editor::LogChannel,
34
::std::string) = 0;
35
36
// vIndex: 2
37
virtual
void
flush() = 0;
38
39
// vIndex: 3
40
virtual ::std::vector<::Editor::LogMessage>
const
& getMessages()
const
= 0;
41
42
// vIndex: 4
43
virtual ::Scripting::Result_deprecated<::Bedrock::PubSub::Subscription>
44
listenForLogMessage(::std::function<
void
(
::Editor::LogMessage
const
&)>) = 0;
45
// NOLINTEND
46
47
public
:
48
// virtual function thunks
49
// NOLINTBEGIN
50
51
// NOLINTEND
52
};
53
54
}
// namespace Editor::Services
Editor::LogMessage
Definition
LogMessage.h:12
Editor::Services::LoggingServiceProvider
Definition
LoggingServiceProvider.h:20
HashedString
Definition
HashedString.h:5
Player
Definition
Player.h:123
src-server
mc
editor
script
LoggingServiceProvider.h
Generated on Sun Oct 12 2025 06:31:34 for LeviLamina by
1.12.0