MCPcopy Create free account
hub / github.com/apache/trafficserver / display

Method display

src/proxy/logging/LogFilter.cc:532–546  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

530 -------------------------------------------------------------------------*/
531
532void
533LogFilterString::display(FILE *fd)
534{
535 ink_assert(fd != nullptr);
536 if (m_num_values == 0) {
537 fprintf(fd, "Filter \"%s\" is inactive, no values specified\n", m_name);
538 } else {
539 fprintf(fd, "Filter \"%s\" %sS records if %s %s ", m_name, ACTION_NAME[m_action], m_field->symbol(), OPERATOR_NAME[m_operator]);
540 fprintf(fd, "%s", m_value[0]);
541 for (size_t i = 1; i < m_num_values; ++i) {
542 fprintf(fd, ", %s", m_value[i]);
543 }
544 fprintf(fd, "\n");
545 }
546}
547
548/*-------------------------------------------------------------------------
549 LogFilterInt::LogFilterInt

Callers

nothing calls this directly

Calls 4

IfFunction · 0.85
symbolMethod · 0.45
countMethod · 0.45
c_strMethod · 0.45

Tested by

no test coverage detected