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

Function LogTextV

KBotExt/imgui/imgui.cpp:12624–12636  ·  view source on GitHub ↗

Pass text data straight to log (without being displayed)

Source from the content-addressed store, hash-verified

12622
12623// Pass text data straight to log (without being displayed)
12624static inline void LogTextV(ImGuiContext& g, const char* fmt, va_list args)
12625{
12626 if (g.LogFile)
12627 {
12628 g.LogBuffer.Buf.resize(0);
12629 g.LogBuffer.appendfv(fmt, args);
12630 ImFileWrite(g.LogBuffer.c_str(), sizeof(char), (ImU64)g.LogBuffer.size(), g.LogFile);
12631 }
12632 else
12633 {
12634 g.LogBuffer.appendfv(fmt, args);
12635 }
12636}
12637
12638void ImGui::LogText(const char* fmt, ...)
12639{

Callers 2

LogTextMethod · 0.85
LogTextVMethod · 0.85

Calls 4

appendfvMethod · 0.80
c_strMethod · 0.80
ImFileWriteFunction · 0.70
sizeMethod · 0.45

Tested by

no test coverage detected