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/logging/LogLevel.h"
8
9// auto generated forward declare list
10// clang-format off
11class HashedString;
12class Player;
13namespace Bedrock::PubSub { class Subscription; }
14namespace Editor { class LogMessage; }
15// clang-format on
16
17namespace Editor::Services {
18
20public:
21 // virtual functions
22 // NOLINTBEGIN
23 // vIndex: 0
24 virtual ~LoggingServiceProvider() = default;
25
26 // vIndex: 1
27 virtual void log(::std::string&&, ::Player*, ::Editor::LogLevel, ::std::vector<::HashedString>&&) = 0;
28
29 // vIndex: 2
30 virtual void flush() = 0;
31
32 // vIndex: 3
33 virtual ::std::vector<::Editor::LogMessage> const& getMessages() const = 0;
34
35 // vIndex: 4
36 virtual ::Scripting::Result_deprecated<::Bedrock::PubSub::Subscription>
37 listenForLogMessage(::std::function<void(::Editor::LogMessage const&)>) = 0;
38 // NOLINTEND
39
40public:
41 // destructor thunk
42 // NOLINTBEGIN
43
44 // NOLINTEND
45
46public:
47 // virtual function thunks
48 // NOLINTBEGIN
49
50 // NOLINTEND
51};
52
53} // namespace Editor::Services
Definition LogMessage.h:12
Definition LoggingServiceProvider.h:19
Definition HashedString.h:5
Definition Player.h:119