MCPcopy Create free account
hub / github.com/78/tenbox / CloseLogFile

Method CloseLogFile

src/manager/llm_proxy.cpp:840–847  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

838}
839
840void LlmProxyService::CloseLogFile() {
841 std::lock_guard<std::mutex> lock(log_mutex_);
842 if (log_file_) {
843 fclose(log_file_);
844 log_file_ = nullptr;
845 }
846 current_log_date_.clear();
847}
848
849void LlmProxyService::WriteLogEntry(const std::string& request_body,
850 const std::string& response_body,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected