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

Class NullLogger

include/ai/logger.h:63–67  ·  view source on GitHub ↗

Null logger implementation - does nothing

Source from the content-addressed store, hash-verified

61
62// Null logger implementation - does nothing
63class NullLogger final : public Logger {
64 public:
65 void log(LogLevel, std::string_view) override {}
66 bool is_enabled(LogLevel) const override { return false; }
67};
68
69class ConsoleLogger final : public Logger {
70 public:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected