| 337 | } |
| 338 | |
| 339 | void SetAborter(AbortFunction&& aborter) { |
| 340 | std::lock_guard<std::mutex> lock(LoggingLock()); |
| 341 | Aborter() = std::move(aborter); |
| 342 | } |
| 343 | |
| 344 | static const char* GetFileBasename(const char* file) { |
| 345 | // We can't use basename(3) even on Unix because the Mac doesn't |