26 static void LogCallback(
LogSeverity severity,
const char* message);
32 void GetEntriesSnapshot(uint64_t sinceSeq,
34 std::vector<DebugLogEntry>& outEntries,
35 uint64_t& outNextSeq);
37 bool mShowDebug =
true;
38 bool mShowWarnings =
true;
39 bool mShowErrors =
true;
40 bool mAutoScroll =
true;
43 std::deque<DebugLogEntry> mEntries;
44 std::deque<DebugLogEntry> mPendingEntries;
45 std::mutex mBufferMutex;
46 uint64_t mNextSeq = 0;
47 static const size_t kMaxEntries = 2048;
49 char mSearchBuffer[256] = {};
50 bool mSearchActive =
false;
51 std::vector<int> mSearchMatches;
52 int mCurrentMatchIndex = -1;
53 bool mNeedScrollToMatch =
false;
55 std::set<int> mSelectedEntries;
56 int mLastClickedRow = -1;
58 void DrainPendingEntries();
59 void CopyAllToClipboard();
60 void CopySelectedToClipboard();
61 void UpdateSearchMatches();
66DebugLogWindow* GetDebugLogWindow();
LogSeverity
Definition SystemTypes.h:139