MCPcopy Create free account
hub / github.com/VCVRack/Rack / destroy

Function destroy

src/logger.cpp:74–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72}
73
74void destroy() {
75 std::lock_guard<std::mutex> lock(mutex);
76 if (outputFile && outputFile != stderr) {
77 // Print end token so we know if the logger exited cleanly.
78 std::fprintf(outputFile, "END");
79 std::fclose(outputFile);
80 }
81 outputFile = NULL;
82}
83
84static const char* const levelLabels[] = {
85 "debug",

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected