| 62 | } |
| 63 | |
| 64 | void Log::close() { |
| 65 | MutexLocker ml(_lock); |
| 66 | if (_fd > STDERR_FILENO) { |
| 67 | ::close(_fd); |
| 68 | _fd = STDOUT_FILENO; |
| 69 | } |
| 70 | } |
| 71 | |
| 72 | void Log::writeRaw(LogLevel level, const char* msg, size_t len) { |
| 73 | MutexLocker ml(_lock); |
nothing calls this directly
no outgoing calls
no test coverage detected