MCPcopy Create free account
hub / github.com/DFHack/dfhack / DebugRegisterBase

Method DebugRegisterBase

library/Debug.cpp:67–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65}
66
67DebugRegisterBase::DebugRegisterBase(DebugCategory* cat)
68{
69 // Make sure Core lives at least as long any DebugCategory to
70 // allow debug prints until all Debugcategories has been destructed
71 Core::getInstance();
72 DebugManager::getInstance().registerCategory(*cat);
73}
74
75void DebugRegisterBase::unregister(DebugCategory* cat)
76{

Callers

nothing calls this directly

Calls 1

registerCategoryMethod · 0.80

Tested by

no test coverage detected