test(wx): drop wall-clock stamp from demo-app Event Log — deterministic screenshots
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
parent
0e93a2a3df
commit
3dfa093477
1 changed files with 3 additions and 4 deletions
|
|
@ -292,10 +292,9 @@ TestFrame::TestFrame(const wxString& title)
|
||||||
|
|
||||||
void TestFrame::LogEvent(const wxString& msg)
|
void TestFrame::LogEvent(const wxString& msg)
|
||||||
{
|
{
|
||||||
// Get timestamp
|
// No wall-clock prefix: the log is screenshot-baselined, and a timestamp
|
||||||
wxDateTime now = wxDateTime::Now();
|
// makes every Event-Log shot diff on every run.
|
||||||
wxString timestamp = now.Format("[%H:%M:%S] ");
|
wxString fullMsg = msg;
|
||||||
wxString fullMsg = timestamp + msg;
|
|
||||||
|
|
||||||
// Add to listbox
|
// Add to listbox
|
||||||
m_eventLog->Append(fullMsg);
|
m_eventLog->Append(fullMsg);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue