chore: remove unused ARCH->showLog

This commit is contained in:
sithlord48
2025-10-25 19:20:10 -04:00
committed by Nick Bolton
parent b5c188abbc
commit 023e8dc78e
6 changed files with 1 additions and 22 deletions

View File

@ -37,15 +37,6 @@ public:
*/
virtual void closeLog() = 0;
//! Show the log
/*!
Causes the log to become visible. This generally only makes sense
for a log in a graphical user interface. Other implementations
will do nothing. Iff \p showIfEmpty is \c false then the implementation
may optionally only show the log if it's not empty.
*/
virtual void showLog(bool showIfEmpty) = 0;
//! Write to the log
/*!
Writes the given string to the log with the given level.

View File

@ -23,11 +23,6 @@ void ArchLogUnix::closeLog()
closelog();
}
void ArchLogUnix::showLog(bool)
{
// do nothing
}
void ArchLogUnix::writeLog(LogLevel level, const QString &msg)
{
// convert level

View File

@ -21,6 +21,5 @@ public:
// IArchLog overrides
void openLog(const QString &name) override;
void closeLog() override;
void showLog(bool) override;
void writeLog(LogLevel, const QString &) override;
};

View File

@ -33,11 +33,6 @@ void ArchLogWindows::closeLog()
}
}
void ArchLogWindows::showLog(bool)
{
// do nothing
}
void ArchLogWindows::writeLog(LogLevel level, const QString &msg)
{
if (m_eventLog != nullptr) {

View File

@ -24,7 +24,6 @@ public:
// IArchLog overrides
void openLog(const QString &name) override;
void closeLog() override;
void showLog(bool showIfEmpty) override;
void writeLog(LogLevel, const QString &) override;
private:

View File

@ -91,7 +91,7 @@ void SystemLogOutputter::close()
void SystemLogOutputter::show(bool showIfEmpty)
{
ARCH->showLog(showIfEmpty);
// do nothing
}
bool SystemLogOutputter::write(LogLevel level, const QString &msg)