| 64 | } |
| 65 | |
| 66 | inline void AddLog(ELogPriority priority, const char* format, va_list args) const { |
| 67 | if (!IsOpen()) { |
| 68 | return; |
| 69 | } |
| 70 | |
| 71 | TPriorityLogStream ls(priority, this); |
| 72 | |
| 73 | Printf(ls, format, args); |
| 74 | } |
| 75 | |
| 76 | inline void ResetBackend(THolder<TLogBackend> backend) noexcept { |
| 77 | Backend_ = std::move(backend); |