...
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user