3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/diagnostics/LogAreaID.h"
7#include "mc/platform/diagnostics/bedrock_log/LogCategory.h"
8#include "mc/platform/diagnostics/bedrock_log/LogChannel.h"
9#include "mc/platform/diagnostics/bedrock_log/LogRule.h"
15namespace Core {
class Path; }
22MCAPI
char const* _areaFilterString(::LogAreaID _area);
25_constructAreaFilterFromString(::std::string
const& filterString, ::BedrockLog::LogAreaFilter& logAreaFilter);
27MCAPI ::std::string _constructAreaFilterStringFromFilter(::BedrockLog::LogAreaFilter
const& filter);
29MCAPI
bool _constructPriorityFilterFromString(::std::string
const& filterString, uint& logPriority);
31MCAPI ::std::string _constructPriorityFilterStringFromFilter(uint filter);
33MCAPI
void _initAreaFilterMap();
35MCAPI
void _initPriorityFilterMap();
37MCAPI ::std::string _messageIdString(
int _messageId);
39MCAPI ::std::string _processIdString();
41MCAPI ::std::string _threadIdString();
43MCAPI
void closeAndResetAllLogs();
45MCAPI
void closeAndResetLog(::BedrockLog::LogCategory category);
48 ::Core::Path
const& _path,
49 ::std::string
const& _labelDescription,
50 ::std::string
const& _debugLogTimestamp,
51 ::BedrockLog::LogCategory _category,
52 ::std::bitset<3> _channels,
54 ::LogSettingsUpdater* _settings,
59MCAPI
void dumpLogSettingsToLog();
62MCAPI
void flushAllLogs();
64MCAPI ::Bedrock::ScopeExit initialize();
66MCAPI
void initializeLogExtensions();
69 ::BedrockLog::LogCategory _category,
70 ::std::bitset<3> channelMask,
71 ::BedrockLog::LogRule rule,
74 char const* _function,
76 char const* _pszFormat,
80MCAPI
int rakDebugLog(
char const*, ...);
85MCAPI
void updateLogFilter(
86 ::std::unique_ptr<::LogSettingsUpdater> options,
87 ::std::string
const& filterType,
88 ::std::vector<::std::string>
const& filters,
89 ::std::string& result,
93MCAPI
void updateLogSetting(::std::string
const& setting,
bool newValue);
97MCAPI
void updateLogSetting(
98 ::BedrockLog::LogCategory _category,
99 ::BedrockLog::LogChannel _channel,
100 ::std::string
const& setting,
Definition LogAreaFilter.h:7
Definition LogSettingsUpdater.h:5