| 37 | } |
| 38 | |
| 39 | void InternalTextLogsQueue::pushBlock(Block && log_block) |
| 40 | { |
| 41 | static Block sample_block = getSampleBlock(); |
| 42 | |
| 43 | if (blocksHaveEqualStructure(sample_block, log_block)) |
| 44 | (void)(emplace(log_block.mutateColumns())); |
| 45 | else |
| 46 | LOG_WARNING(getLogger("InternalTextLogsQueue"), "Log block have different structure"); |
| 47 | } |
| 48 | |
| 49 | std::string_view InternalTextLogsQueue::getPriorityName(int priority) |
| 50 | { |
no test coverage detected