...
This commit is contained in:
@@ -78,6 +78,7 @@ concept mcc_logger_c = requires(T t, const T t_const) {
|
||||
{ t.logDebug(std::declval<const std::string&>()) };
|
||||
{ t.logWarn(std::declval<const std::string&>()) };
|
||||
{ t.logInfo(std::declval<const std::string&>()) };
|
||||
{ t.logTrace(std::declval<const std::string&>()) };
|
||||
};
|
||||
|
||||
|
||||
@@ -86,6 +87,7 @@ struct MccNullLogger {
|
||||
void logDebug(const std::string&) {}
|
||||
void logWarn(const std::string&) {}
|
||||
void logInfo(const std::string&) {}
|
||||
void logTrace(const std::string&) {}
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user