MCPcopy 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
167void Log::flush() {
168 if(isAsync_) {
169 deque_->flush();
170 }
171 fflush(fp_);
172}
173
174void Log::AsyncWrite_() {
175 string str = "";

Callers 1

~LogMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected