MCPcopy Create free account
hub / github.com/BoomingTech/Piccolo / LogTextV

Function LogTextV

engine/3rdparty/imgui/imgui.cpp:11797–11809  ·  view source on GitHub ↗

Pass text data straight to log (without being displayed)

Source from the content-addressed store, hash-verified

11795
11796// Pass text data straight to log (without being displayed)
11797static inline void LogTextV(ImGuiContext& g, const char* fmt, va_list args)
11798{
11799 if (g.LogFile)
11800 {
11801 g.LogBuffer.Buf.resize(0);
11802 g.LogBuffer.appendfv(fmt, args);
11803 ImFileWrite(g.LogBuffer.c_str(), sizeof(char), (ImU64)g.LogBuffer.size(), g.LogFile);
11804 }
11805 else
11806 {
11807 g.LogBuffer.appendfv(fmt, args);
11808 }
11809}
11810
11811void ImGui::LogText(const char* fmt, ...)
11812{

Callers 2

LogTextMethod · 0.85
LogTextVMethod · 0.85

Calls 5

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

Tested by

no test coverage detected