Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
DebugEndPoint.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/debug/log/ContentLogEndPoint.h"
7#include "mc/deps/core/debug/log/LogArea.h"
8#include "mc/deps/core/debug/log/LogLevel.h"
9
10class DebugEndPoint : public ::ContentLogEndPoint {
11public:
12 // member variables
13 // NOLINTBEGIN
16 // NOLINTEND
17
18public:
19 // prevent constructor by default
20 DebugEndPoint& operator=(DebugEndPoint const&);
21 DebugEndPoint(DebugEndPoint const&);
22 DebugEndPoint();
23
24public:
25 // virtual functions
26 // NOLINTBEGIN
27 virtual void log(::LogArea const area, ::LogLevel const level, char const* message) /*override*/;
28
29 virtual void flush() /*override*/;
30
31 virtual void setEnabled(bool newState) /*override*/;
32
33 virtual bool isEnabled() const /*override*/;
34
35 virtual bool logOnlyOnce() const /*override*/;
36 // NOLINTEND
37
38public:
39 // virtual function thunks
40 // NOLINTBEGIN
41#ifdef LL_PLAT_S
42 MCNAPI void $log(::LogArea const area, ::LogLevel const level, char const* message);
43
44 MCNAPI void $flush();
45
46 MCNAPI void $setEnabled(bool newState);
47
48 MCNAPI bool $isEnabled() const;
49
50 MCNAPI bool $logOnlyOnce() const;
51#endif
52
53
54 // NOLINTEND
55};
Definition ContentLogEndPoint.h:17
MCAPI void $log(char const *)
Definition Alias.h:14