This commit is contained in:
2024-11-13 18:01:31 +03:00
parent 7251f95459
commit 05e0055193
3 changed files with 101 additions and 3 deletions

View File

@@ -236,6 +236,9 @@ concept adc_logger_c = requires(LOGGERT log, const LOGGERT log_const) {
// logging method signature:
// void method(std::string_view fmt, traits::formattable auto&& args...)
log.logMessage(std::declval<typename LOGGERT::loglevel_t>(), std::declval<std::string_view>());
log.logMessage(std::declval<typename LOGGERT::loglevel_t>(), std::declval<std::string_view>(),
std::declval<std::string>());
// logging method must accept at least the single argument - formatting string
log.logInfo(std::declval<std::string_view>());