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

Method error

include/ai/logger.h:51–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49
50 template <typename... Args>
51 void error(std::format_string<Args...> fmt, Args&&... args) {
52 if (is_enabled(LogLevel::kLogLevelError)) {
53 log(LogLevel::kLogLevelError,
54 std::format(fmt, std::forward<Args>(args)...));
55 }
56 }
57
58 // Check if a log level is enabled
59 virtual bool is_enabled(LogLevel level) const = 0;

Callers 2

send_batchMethod · 0.80
log_errorFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected