Lines Matching refs:AddLog
3138 AddLog("Welcome to Dear ImGui!");
3161 void AddLog(const char* fmt, ...) IM_FMTARGS(2)
3198 if (ImGui::SmallButton("Add Dummy Text")) { AddLog("%d some text", Items.Size); AddLog("some more text"); AddLog("display very important message here!"); } ImGui::SameLine();
3199 if (ImGui::SmallButton("Add Dummy Error")) { AddLog("[error] something went wrong"); } ImGui::SameLine();
3203 //static float t = 0.0f; if (ImGui::GetTime() - t > 0.02f) { t = ImGui::GetTime(); AddLog("Spam %f", t); }
3290 AddLog("# %s\n", command_line);
3310 AddLog("Commands:");
3312 AddLog("- %s", Commands[i]);
3318 AddLog("%3d: %s\n", i, History[i]);
3322 AddLog("Unknown command: '%s'\n", command_line);
3337 //AddLog("cursor: %d, selection: %d-%d", data->CursorPos, data->SelectionStart, data->SelectionEnd);
3364 AddLog("No match for \"%.*s\"!\n", (int)(word_end-word_start), word_start);
3398 AddLog("Possible matches:\n");
3400 AddLog("- %s\n", candidates[i]);
3448 // my_log.AddLog("Hello %d world\n", 123);
3454 ImVector<int> LineOffsets; // Index to lines offset. We maintain this with AddLog() calls, allowing us to have a random access on lines
3472 void AddLog(const char* fmt, ...) IM_FMTARGS(2)
3589 log.AddLog("[%05d] [%s] Hello, current time is %.1f, here's a word: '%s'\n",