37 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::ContentLogEndPoint>> mContentLogEndPoint;
53 ::ll::TypedStorage<8, 24, ::std::optional<::std::string_view>> mMessageRef;
54 ::ll::TypedStorage<8, 8, ::Bedrock::StaticOptimizedString> mMessageStr;
55 ::ll::TypedStorage<8, 8, ::gsl::not_null<::ContentLog::ContentLogScope const*>> mContentLogScope;
62 ::ll::TypedStorage<8, 24, ::std::vector<::ContentLog::ThreadSpecificData::ScopeData>> mScope;
63 ::ll::TypedStorage<8, 24, ::std::vector<::ContextMessageLogger*>> mMessageLoggers;
67 class ScopeHandler :
public ::std::enable_shared_from_this<::ContentLog::ScopeHandler> {
76 ::std::allocator<::ContentLog::ThreadSpecificData>>>
87 class ContentLogScope {
91 ::ll::TypedStorage<1, 1, bool> mPopScope;
92 ::ll::TypedStorage<8, 16, ::std::weak_ptr<::ContentLog::ScopeHandler>> mScopeHandler;
112 MCNAPI
void*
$ctor(::std::string_view scope);
129 ::ll::TypedStorage<1, 1, bool> mEnabled;
132 ::ll::TypedStorage<8, 80, ::Bedrock::Threading::Mutex> mEndpointMutex;
133 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::ContentLog::ScopeHandler>> mScopeHandler;
137 ::std::unordered_map<::LogLevel, ::std::unordered_map<::LogArea, ::std::unordered_set<uint64>>>>
144 virtual ~ContentLog() =
default;
152 MCAPI
void _writeToLog(
bool logOnlyOnce, ::LogArea area, ::LogLevel level,
char*& args);
158 MCAPI
void log(
bool logOnlyOnce, ::LogLevel level, ::LogArea area, ...);
162 MCAPI
void unregisterEndPoint(::gsl::not_null<::ContentLogEndPoint*> endPoint);
164 MCAPI
void updateEnabledStatus();
Definition ContentLogEndPoint.h:17
Definition ContentLog.h:33
Definition ContentLog.h:87
MCAPI void * $ctor(::std::optional<::std::string_view > ref, ::Bedrock::StaticOptimizedString const &str)
MCAPI void * $ctor(::std::string_view scope)
MCAPI ContentLogScope(::std::string_view scope)
MCAPI ContentLogScope(::std::optional<::std::string_view > ref, ::Bedrock::StaticOptimizedString const &str)
Definition ContentLog.h:67
MCAPI::std::string getScope()
Definition ContentLog.h:41
static MCAPI void ** $vftable()
Definition ContextMessageLogger.h:10
Definition ContentLog.h:49