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; }
15namespace Editor { struct LogContent; }
16// clang-format on
17
18namespace Editor {
19
20class LogUtils {
21public:
22 // static functions
23 // NOLINTBEGIN
24#ifdef LL_PLAT_C
25 MCNAPI static ::std::string getTimeStamp();
26#endif
27
28 MCNAPI static void
29 log(::Player& player,
30 ::Editor::LogLevel level,
31 ::std::vector<::HashedString>&& tags,
32 ::std::variant<::std::string, ::Editor::LogContent> content,
33 ::Editor::LogChannel channelMask);
34
35 MCNAPI static void
37 ::Editor::LogContext context,
38 ::Editor::LogLevel level,
39 ::std::vector<::HashedString>&& tags,
40 ::std::variant<::std::string, ::Editor::LogContent> content,
41 ::Editor::LogChannel channelMask);
42 // NOLINTEND
43};
44
45} // namespace Editor
Definition LogUtils.h:20
static MCAPI void log(::Player &player, ::Editor::LogLevel level, ::std::vector<::HashedString > &&tags, ::std::variant<::std::string, ::Editor::LogContent > content, ::Editor::LogChannel channelMask)
static MCAPI void log(::Editor::ServiceProviderCollection &providers, ::Editor::LogContext context, ::Editor::LogLevel level, ::std::vector<::HashedString > &&tags, ::std::variant<::std::string, ::Editor::LogContent > content, ::Editor::LogChannel channelMask)
Definition ServiceProviderCollection.h:7
Definition HashedString.h:5
Definition Player.h:129
Definition LogContent.h:7
Definition context.h:5