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
10// auto generated forward declare list
11// clang-format off
12namespace Core { class Path; }
13// clang-format on
14
15class ContentLogFileEndPoint : public ::ContentLogEndPoint {
16public:
17 // member variables
18 // 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#endif
62 // NOLINTEND
63
64public:
65 // static functions
66 // NOLINTBEGIN
67 MCNAPI static ::std::string sanitizePathPrefixForDisplay(::std::string_view text);
68 // NOLINTEND
69
70public:
71 // constructor thunks
72 // NOLINTBEGIN
73 MCNAPI void* $ctor(::Core::Path debugLogDirectory, ::Core::Path fileName, ::std::optional<::LogLevel> minLogLevel);
74 // NOLINTEND
75
76public:
77 // destructor thunk
78 // NOLINTBEGIN
79 MCNAPI void $dtor();
80 // NOLINTEND
81
82public:
83 // virtual function thunks
84 // NOLINTBEGIN
85 MCNAPI void $log(::LogArea const area, ::LogLevel const level, char const* message);
86
87 MCNAPI void $flush();
88
89 MCNAPI void $setEnabled(bool newState);
90
91 MCNAPI bool $isEnabled() const;
92
93 MCNAPI bool $logOnlyOnce() const;
94
95
96 // NOLINTEND
97};
Definition ContentLogEndPoint.h:17
MCAPI void * $ctor(::Core::Path debugLogDirectory, ::Core::Path fileName, ::std::optional<::LogLevel > minLogLevel)
static MCAPI ::std::string sanitizePathPrefixForDisplay(::std::string_view text)
MCAPI bool $isEnabled() const
MCAPI bool $logOnlyOnce() const
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:11
Definition Alias.h:14