LeviLamina
Loading...
Searching...
No Matches
LogUtils.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/editor/logging/LogContext.h"
8#include "mc/editor/logging/LogLevel.h"
9
10// auto generated forward declare list
11// clang-format off
12class HashedString;
13class Player;
14namespace Editor { class ServiceProviderCollection; }
15// clang-format on
16
17namespace Editor {
18
19class LogUtils {
20public:
21 // static functions
22 // NOLINTBEGIN
23 MCNAPI static void
24 log(::Player& player,
25 ::Editor::LogLevel level,
26 ::std::vector<::HashedString>&& tags,
27 ::std::string message,
28 ::Editor::LogChannel channelMask,
29 ::std::string subMessage);
30
31 MCNAPI static void
33 ::Editor::LogContext context,
34 ::Editor::LogLevel level,
35 ::std::vector<::HashedString>&& tags,
36 ::std::string message,
37 ::Editor::LogChannel channelMask,
38 ::std::string subMessage);
39
40 MCNAPI static void queueToast(
42 ::Editor::LogContext context,
43 ::Editor::LogLevel level,
44 ::std::string message,
45 ::std::string subMessage
46 );
47 // NOLINTEND
48};
49
50} // namespace Editor
Definition LogUtils.h:19
static MCAPI void log(::Editor::ServiceProviderCollection &providers, ::Editor::LogContext context, ::Editor::LogLevel level, ::std::vector<::HashedString > &&tags, ::std::string message, ::Editor::LogChannel channelMask, ::std::string subMessage)
static MCAPI void log(::Player &player, ::Editor::LogLevel level, ::std::vector<::HashedString > &&tags, ::std::string message, ::Editor::LogChannel channelMask, ::std::string subMessage)
static MCAPI void queueToast(::Editor::ServiceProviderCollection &providers, ::Editor::LogContext context, ::Editor::LogLevel level, ::std::string message, ::std::string subMessage)
Definition ServiceProviderCollection.h:7
Definition HashedString.h:5
Definition Player.h:123
Definition context.h:5