MCPcopy Create free account
hub / github.com/KebsCS/KBotExt / DebugLogV

Method DebugLogV

KBotExt/imgui/imgui.cpp:14573–14582  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14571}
14572
14573void ImGui::DebugLogV(const char* fmt, va_list args)
14574{
14575 ImGuiContext& g = *GImGui;
14576 const int old_size = g.DebugLogBuf.size();
14577 g.DebugLogBuf.appendf("[%05d] ", g.FrameCount);
14578 g.DebugLogBuf.appendfv(fmt, args);
14579 if (g.DebugLogFlags & ImGuiDebugLogFlags_OutputToTTY)
14580 IMGUI_DEBUG_PRINTF("%s", g.DebugLogBuf.begin() + old_size);
14581 g.DebugLogIndex.append(g.DebugLogBuf.c_str(), old_size, g.DebugLogBuf.size());
14582}
14583
14584void ImGui::ShowDebugLogWindow(bool* p_open)
14585{

Callers

nothing calls this directly

Calls 6

appendfMethod · 0.80
appendfvMethod · 0.80
appendMethod · 0.80
c_strMethod · 0.80
sizeMethod · 0.45
beginMethod · 0.45

Tested by

no test coverage detected