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 MCNAPI_C static ::std::string getTimeStamp();
25
26 MCNAPI static void
27 log(::Player& player,
28 ::Editor::LogLevel level,
29 ::std::vector<::HashedString>&& tags,
30 ::std::variant<::std::string, ::Editor::LogContent> content,
31 ::Editor::LogChannel channelMask);
32
33 MCNAPI static void
35 ::Editor::LogContext context,
36 ::Editor::LogLevel level,
37 ::std::vector<::HashedString>&& tags,
38 ::std::variant<::std::string, ::Editor::LogContent> content,
39 ::Editor::LogChannel channelMask);
40 // NOLINTEND
41};
42
43} // 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:125
Definition LogContent.h:7
Definition context.h:5