feat(ui): improve FrameXML debug routines

This commit is contained in:
VDm 2025-08-03 13:07:27 +04:00
parent 679ed1101f
commit eed536042d
5 changed files with 77 additions and 27 deletions

View file

@ -24,6 +24,16 @@ void CStatus::Add(STATUS_TYPE severity, const char* format, ...) {
va_end(args);
}
void CStatus::Prepend(STATUS_TYPE severity, const char* format, ...) {
// TODO
// Remove temporary console debug logging
va_list args;
va_start(args, format);
vprintf(format, args);
printf("\n");
va_end(args);
}
CStatus& GetGlobalStatusObj() {
return CStatus::s_errorList;
}

View file

@ -27,6 +27,7 @@ class CStatus {
// Member functions
void Add(const CStatus&);
void Add(STATUS_TYPE, const char*, ...);
void Prepend(STATUS_TYPE, const char*, ...);
public:
STORM_EXPLICIT_LIST(CStatus::STATUSENTRY, link) statusList;