Skip to content

Commit

Permalink
Report platform to the log
Browse files Browse the repository at this point in the history
  • Loading branch information
10110111 committed Jan 27, 2025
1 parent 464e912 commit 9e1ec3a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/StelLogger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
#include "StelLogger.hpp"
#include "StelUtils.hpp"

#include <QApplication>
#include <QDateTime>
#include <QProcess>

Expand Down Expand Up @@ -76,6 +77,7 @@ void StelLogger::init(const QString& logFilePath)
writeLog(QString("%1").arg(QDateTime::currentDateTime().toString(Qt::ISODate)));
// write info about operating system
writeLog(QString("Operating System: %1").arg(StelUtils::getOperatingSystemInfo()));
writeLog(QString("Platform: %1").arg(qApp->platformName()));

// write compiler version
writeLog(QString("Compiled using %1").arg(STELLARIUM_COMPILER));
Expand Down

0 comments on commit 9e1ec3a

Please sign in to comment.