MCPcopy Create free account
hub / github.com/async-profiler/async-profiler / close

Method close

src/log.cpp:64–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62}
63
64void Log::close() {
65 MutexLocker ml(_lock);
66 if (_fd > STDERR_FILENO) {
67 ::close(_fd);
68 _fd = STDOUT_FILENO;
69 }
70}
71
72void Log::writeRaw(LogLevel level, const char* msg, size_t len) {
73 MutexLocker ml(_lock);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected