Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/EricPengShuai/Interview
/ flush
Method
flush
Linux/nowcoder/5-WebServer/asyncLog/log.cpp:167–172 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
165
}
166
167
void Log::flush() {
168
if(isAsync_) {
169
deque_->flush();
170
}
171
fflush(fp_);
172
}
173
174
void Log::AsyncWrite_() {
175
string str =
""
;
Callers
1
~Log
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected