MCPcopy Create free account
hub / github.com/Overload-Technologies/Overload / LogTextV

Function LogTextV

Dependencies/ImGui/src/imgui.cpp:15044–15056  ·  view source on GitHub ↗

Pass text data straight to log (without being displayed)

Source from the content-addressed store, hash-verified

15042
15043// Pass text data straight to log (without being displayed)
15044static inline void LogTextV(ImGuiContext& g, const char* fmt, va_list args)
15045{
15046 if (g.LogFile)
15047 {
15048 g.LogBuffer.Buf.resize(0);
15049 g.LogBuffer.appendfv(fmt, args);
15050 ImFileWrite(g.LogBuffer.c_str(), sizeof(char), (ImU64)g.LogBuffer.size(), g.LogFile);
15051 }
15052 else
15053 {
15054 g.LogBuffer.appendfv(fmt, args);
15055 }
15056}
15057
15058void ImGui::LogText(const char* fmt, ...)
15059{

Callers 2

LogTextMethod · 0.85
LogTextVMethod · 0.85

Calls 5

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

Tested by

no test coverage detected