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

Method RestoreDefaultBackend

catboost/libs/logging/logging.cpp:145–148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

143}
144
145void TCatboostLog::RestoreDefaultBackend() {
146 ImplHolder->ResetBackend(CreateLogBackend("cout"), CreateLogBackend("cerr"));
147 IsCustomBackendSpecified.store(false);
148}
149
150void ResetTraceBackend(const TString& name) {
151 TCatBoostLogSettings::GetRef().Log.ResetTraceBackend(CreateLogBackend(name));

Callers 1

RestoreOriginalLoggerFunction · 0.80

Calls 3

CreateLogBackendFunction · 0.85
ResetBackendMethod · 0.45
storeMethod · 0.45

Tested by

no test coverage detected