This commit is contained in:
2025-07-22 18:13:18 +03:00
parent 85e99151a8
commit fc943abe03
2 changed files with 95 additions and 14 deletions

View File

@@ -53,6 +53,25 @@ static consteval bool mccIsAltAzMount(const MccMountType type)
: false;
};
/* NULL-LOGGER CLASS */
struct MccNullLogger {
typedef int loglevel_t;
void setLogLevel(loglevel_t){};
loglevel_t getLogLevel() const
{
return 0;
};
void logMessage(loglevel_t, const std::string&) {};
void logError(const std::string&) {};
void logDebug(const std::string&) {};
void logWarn(const std::string&) {};
void logInfo(const std::string&) {};
};
} // namespace mcc