Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
31
private:
32
static inline TFile OpenFile(const TString& path) {
Callers
nothing calls this directly
Calls
3
LinkTo
Method · 0.80
OpenFile
Class · 0.50
GetName
Method · 0.45
Tested by
no test coverage detected