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