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/common/editor/LogChannel.h"
7
#include "mc/deps/scripting/runtime/Result_deprecated.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
namespace
Editor {
struct
LogContent
; }
17
// clang-format on
18
19
namespace
Editor::Services {
20
21
class
LoggingServiceProvider
{
22
public
:
23
// virtual functions
24
// NOLINTBEGIN
25
virtual
~LoggingServiceProvider
() =
default
;
26
27
virtual
void
28
log(
::Editor::LogContent
,
::Player
*, ::Editor::LogLevel, ::std::vector<::HashedString>&&, ::Editor::LogChannel) = 0;
29
30
virtual
void
flush() = 0;
31
32
virtual ::std::vector<::Editor::LogMessage>
const
& getMessages()
const
= 0;
33
34
virtual ::Scripting::Result_deprecated<::Bedrock::PubSub::Subscription>
35
listenForLogMessage(::std::function<
void
(
::Editor::LogMessage
const
&)>) = 0;
36
// NOLINTEND
37
38
public
:
39
// virtual function thunks
40
// NOLINTBEGIN
41
42
// NOLINTEND
43
};
44
45
}
// namespace Editor::Services
Bedrock::PubSub::Subscription
Definition
Subscription.h:10
Editor::LogMessage
Definition
LogMessage.h:12
Editor::Services::LoggingServiceProvider
Definition
LoggingServiceProvider.h:21
HashedString
Definition
HashedString.h:5
Player
Definition
Player.h:125
Editor::LogContent
Definition
LogContent.h:7
src
mc
editor
script
LoggingServiceProvider.h
Generated on
for LeviLamina by
1.16.1