MCPcopy Create free account
hub / github.com/DISTRHO/Cardinal / LogTextV

Function LogTextV

plugins/Cardinal/src/DearImGui/imgui.cpp:10748–10760  ·  view source on GitHub ↗

Pass text data straight to log (without being displayed)

Source from the content-addressed store, hash-verified

10746
10747// Pass text data straight to log (without being displayed)
10748static inline void LogTextV(ImGuiContext& g, const char* fmt, va_list args)
10749{
10750 if (g.LogFile)
10751 {
10752 g.LogBuffer.Buf.resize(0);
10753 g.LogBuffer.appendfv(fmt, args);
10754 ImFileWrite(g.LogBuffer.c_str(), sizeof(char), (ImU64)g.LogBuffer.size(), g.LogFile);
10755 }
10756 else
10757 {
10758 g.LogBuffer.appendfv(fmt, args);
10759 }
10760}
10761
10762void ImGui::LogText(const char* fmt, ...)
10763{

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