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

Method ReopenLog

library/cpp/logger/file.cpp:24–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22 }
23
24 inline void ReopenLog() {
25 //but log rotate not thread-safe
26 TWriteGuard guard(Lock_);
27
28 File_.LinkTo(OpenFile(File_.GetName()));
29 }
30
31private:
32 static inline TFile OpenFile(const TString& path) {

Callers

nothing calls this directly

Calls 3

LinkToMethod · 0.80
OpenFileClass · 0.50
GetNameMethod · 0.45

Tested by

no test coverage detected