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

Method OutputLogTailToCout

library/cpp/par/par_log.h:31–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29 }
30
31 void OutputLogTailToCout() {
32 TGuard<TMutex> lock(LogMutex);
33 const auto begin = LoggedStringsBuffer.FirstIndex();
34 const auto end = LoggedStringsBuffer.TotalSize();
35 for (size_t i = begin; i < end; ++i) {
36 Cout << LoggedStringsBuffer[i] << Endl;
37 }
38 }
39
40 void LogString(const TString& str) {
41 TGuard<TMutex> lock(LogMutex);

Callers 1

Calls 2

FirstIndexMethod · 0.80
TotalSizeMethod · 0.45

Tested by

no test coverage detected