Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/antgroup/vsag
/ SetLevel
Method
SetLevel
examples/cpp/202_custom_logger.cpp:23–26 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
21
class MyLogger : public vsag::Logger {
22
public:
23
inline void
24
SetLevel(Level log_level) override {
25
level_ = log_level - vsag::Logger::Level::kTRACE;
26
}
27
28
inline void
29
Trace(const std::string& msg) override {
Callers
4
main
Function · 0.45
main
Function · 0.45
main
Function · 0.45
main
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected