MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/SPlisHSPlasH / DebugLogV

Method DebugLogV

extern/imgui/imgui.cpp:19728–19737  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19726}
19727
19728void ImGui::DebugLogV(const char* fmt, va_list args)
19729{
19730 ImGuiContext& g = *GImGui;
19731 const int old_size = g.DebugLogBuf.size();
19732 g.DebugLogBuf.appendf("[%05d] ", g.FrameCount);
19733 g.DebugLogBuf.appendfv(fmt, args);
19734 if (g.DebugLogFlags & ImGuiDebugLogFlags_OutputToTTY)
19735 IMGUI_DEBUG_PRINTF("%s", g.DebugLogBuf.begin() + old_size);
19736 g.DebugLogIndex.append(g.DebugLogBuf.c_str(), old_size, g.DebugLogBuf.size());
19737}
19738
19739void ImGui::ShowDebugLogWindow(bool* p_open)
19740{

Callers

nothing calls this directly

Calls 6

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

Tested by

no test coverage detected