MCPcopy Create free account
hub / github.com/RenderKit/embree / DebugLogV

Method DebugLogV

tutorials/common/imgui/imgui.cpp:13881–13890  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13879}
13880
13881void ImGui::DebugLogV(const char* fmt, va_list args)
13882{
13883 ImGuiContext& g = *GImGui;
13884 const int old_size = g.DebugLogBuf.size();
13885 g.DebugLogBuf.appendf("[%05d] ", g.FrameCount);
13886 g.DebugLogBuf.appendfv(fmt, args);
13887 if (g.DebugLogFlags & ImGuiDebugLogFlags_OutputToTTY)
13888 IMGUI_DEBUG_PRINTF("%s", g.DebugLogBuf.begin() + old_size);
13889 g.DebugLogIndex.append(g.DebugLogBuf.c_str(), old_size, g.DebugLogBuf.size());
13890}
13891
13892void ImGui::ShowDebugLogWindow(bool* p_open)
13893{

Callers

nothing calls this directly

Calls 6

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

Tested by

no test coverage detected