LeviLamina
Loading...
Searching...
No Matches
ContentLogFileEndPoint.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#include "mc/deps/core/file/PathBuffer.h"
10
11// auto generated forward declare list
12// clang-format off
13namespace Core { class Path; }
14// clang-format on
15
16class ContentLogFileEndPoint : public ::ContentLogEndPoint {
17public:
18 // member variables
19 // NOLINTBEGIN
26 // NOLINTEND
27
28public:
29 // prevent constructor by default
30 ContentLogFileEndPoint& operator=(ContentLogFileEndPoint const&);
31 ContentLogFileEndPoint(ContentLogFileEndPoint const&);
32 ContentLogFileEndPoint();
33
34public:
35 // virtual functions
36 // NOLINTBEGIN
37 virtual ~ContentLogFileEndPoint() /*override*/;
38
39 virtual void log(::LogArea const area, ::LogLevel const level, char const* message) /*override*/;
40
41 virtual void flush() /*override*/;
42
43 virtual void setEnabled(bool newState) /*override*/;
44
45 virtual bool isEnabled() const /*override*/;
46
47 virtual bool logOnlyOnce() const /*override*/;
48 // NOLINTEND
49
50public:
51 // member functions
52 // NOLINTBEGIN
54 ::Core::Path debugLogDirectory,
55 ::Core::Path fileName,
56 ::std::optional<::LogLevel> minLogLevel
57 );
58
59#ifdef LL_PLAT_C
60 MCNAPI void deleteAllContentLogs() const;
61
62 MCNAPI ::Core::PathBuffer<::std::string> const& getLogFileName() const;
63#endif
64 // NOLINTEND
65
66public:
67 // static variables
68 // NOLINTBEGIN
69 MCNAPI static ::std::string_view const& FILE_NAME();
70 // NOLINTEND
71
72public:
73 // constructor thunks
74 // NOLINTBEGIN
75 MCNAPI void* $ctor(::Core::Path debugLogDirectory, ::Core::Path fileName, ::std::optional<::LogLevel> minLogLevel);
76 // NOLINTEND
77
78public:
79 // destructor thunk
80 // NOLINTBEGIN
81 MCNAPI void $dtor();
82 // NOLINTEND
83
84public:
85 // virtual function thunks
86 // NOLINTBEGIN
87 MCNAPI void $log(::LogArea const area, ::LogLevel const level, char const* message);
88
89 MCNAPI void $flush();
90
91 MCNAPI void $setEnabled(bool newState);
92
93 MCNAPI bool $isEnabled() const;
94
95 MCNAPI bool $logOnlyOnce() const;
96
97
98 // NOLINTEND
99
100public:
101 // vftables
102 // NOLINTBEGIN
103 MCNAPI static void** $vftableForLogEndPoint();
104
106 // NOLINTEND
107};
MCAPI ContentLogEndPoint()
MCAPI void * $ctor(::Core::Path debugLogDirectory, ::Core::Path fileName, ::std::optional<::LogLevel > minLogLevel)
static MCAPI void ** $vftableForEnableNonOwnerReferences()
MCAPI bool $isEnabled() const
static MCAPI void ** $vftableForLogEndPoint()
MCAPI bool $logOnlyOnce() const
static MCAPI ::std::string_view const & FILE_NAME()
MCAPI void $log(::LogArea const area, ::LogLevel const level, char const *message)
MCAPI void $setEnabled(bool newState)
MCAPI ContentLogFileEndPoint(::Core::Path debugLogDirectory, ::Core::Path fileName, ::std::optional<::LogLevel > minLogLevel)
Definition Path.h:12
Definition Alias.h:14