MCPcopy Create free account
hub / github.com/apache/brpc / CloseLogFileUnlocked

Function CloseLogFileUnlocked

src/butil/logging.cc:418–424  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

416}
417
418void CloseLogFileUnlocked() {
419 if (!log_file)
420 return;
421
422 CloseFile(log_file);
423 log_file = NULL;
424}
425
426void Log2File(const std::string& log) {
427 // We can have multiple threads and/or processes, so try to prevent them

Callers 2

BaseInitLoggingImplFunction · 0.85
CloseLogFileFunction · 0.85

Calls 1

CloseFileFunction · 0.70

Tested by

no test coverage detected