| 120 | } |
| 121 | |
| 122 | void TCatboostLog::Output(const TCatboostLogEntry& entry) { |
| 123 | if (entry.Filled() != 0) { |
| 124 | if (LogPriority >= entry.Priority) { |
| 125 | ImplHolder->WriteRegularLog(entry, OutputExtendedInfo); |
| 126 | } |
| 127 | if (HaveTraceLog) { |
| 128 | ImplHolder->WriteTraceLog(entry); |
| 129 | } |
| 130 | } |
| 131 | } |
| 132 | |
| 133 | void TCatboostLog::ResetBackend(THolder<TLogBackend>&& lowPriorityBackend, THolder<TLogBackend>&& highPriorityBackend) { |
| 134 | if (IsCustomBackendSpecified.exchange(true)) { |
no test coverage detected