| 838 | } |
| 839 | |
| 840 | void 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 | |
| 849 | void LlmProxyService::WriteLogEntry(const std::string& request_body, |
| 850 | const std::string& response_body, |
nothing calls this directly
no outgoing calls
no test coverage detected