MCPcopy Create free account
hub / github.com/catboost/catboost / SetCustomLoggingFunction

Function SetCustomLoggingFunction

library/cpp/hnsw/logging/logging.cpp:21–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19 };
20
21 void SetCustomLoggingFunction(TCustomLoggingFunction loggingFunc) {
22 THnswLog::Instance().ResetBackend(MakeHolder<TCustomFuncLogger>(loggingFunc));
23 }
24
25 void RestoreOriginalLogger() {
26 THnswLog::Instance().ResetBackend(CreateLogBackend("cerr"));

Callers

nothing calls this directly

Calls 2

InstanceFunction · 0.85
ResetBackendMethod · 0.45

Tested by

no test coverage detected