Include Qt messages in log file
Some checks failed
Build Porymap / build-linux (, 5.14.2) (push) Has been cancelled
Build Porymap / build-linux (, 6.8.*) (push) Has been cancelled
Build Porymap / build-linux (minimal, 5.14.2) (push) Has been cancelled
Build Porymap / build-macos (macos-15-intel) (push) Has been cancelled
Build Porymap / build-macos (macos-latest) (push) Has been cancelled
Build Porymap / build-static-windows (push) Has been cancelled

This commit is contained in:
GriffinR
2026-06-15 17:37:37 -04:00
parent 71ff235c78
commit 8b4c1c64b0
2 changed files with 104 additions and 43 deletions

View File

@@ -20,7 +20,10 @@ void logInit();
void logInfo(const QString &message);
void logWarn(const QString &message);
void logError(const QString &message);
void log(const QString &message, LogType type);
template <typename T>
void log(const QString &message, T type);
QString getLogPath();
QString getMostRecentError();
void addLogStatusBar(QStatusBar *statusBar, const QSet<LogType> &types = {});