MCPcopy Create free account
hub / github.com/ClickHouse/ai-sdk-cpp / warn

Method warn

include/ai/logger.h:43–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41
42 template <typename... Args>
43 void warn(std::format_string<Args...> fmt, Args&&... args) {
44 if (is_enabled(LogLevel::kLogLevelWarn)) {
45 log(LogLevel::kLogLevelWarn,
46 std::format(fmt, std::forward<Args>(args)...));
47 }
48 }
49
50 template <typename... Args>
51 void error(std::format_string<Args...> fmt, Args&&... args) {

Callers 1

log_warnFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected