46 #ifndef AGS_SHARED_DEBUGGING_DEBUG_MANAGER_H 47 #define AGS_SHARED_DEBUGGING_DEBUG_MANAGER_H 49 #include "common/std/memory.h" 50 #include "common/std/map.h" 51 #include "ags/shared/debugging/out.h" 52 #include "ags/shared/debugging/output_handler.h" 53 #include "ags/shared/util/string.h" 54 #include "ags/shared/util/string_types.h" 81 bool IsEnabled()
const;
82 void SetEnabled(
bool enable);
84 void SetGroupFilter(
DebugGroupID id, MessageType verbosity);
86 void SetAllGroupFilters(MessageType verbosity);
88 void ClearGroupFilters();
98 MessageType _defaultVerbosity;
103 GroupNameToMTMap _unresolvedGroups;
118 PDebugOutput GetOutput(
const String &
id);
125 PDebugOutput RegisterOutput(
const String &
id,
IOutputHandler *handler, MessageType def_verbosity = kDbgMsg_All,
bool enabled =
true);
127 void UnregisterAll();
131 void UnregisterOutput(
const String &
id);
146 OutputSlot() : Suppressed(
false) {
155 void SendMessage(OutputSlot &out,
const DebugMessage &msg);
157 uint32_t _firstFreeGroupID;
158 uint32_t _lastGroupID;
160 GroupByStringMap _groupByStrLookup;
Definition: achievements_tables.h:27
Definition: debug_manager.h:109
Definition: debug_manager.h:63
Definition: output_handler.h:39
Definition: debug_manager.h:74
Definition: output_handler.h:55