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

Method add

src/proxy/logging/LogFormat.cc:783–793  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

781}
782
783void
784LogFormatList::add(LogFormat *format, bool copy)
785{
786 ink_assert(format != nullptr);
787
788 if (copy) {
789 m_format_list.enqueue(new LogFormat(*format));
790 } else {
791 m_format_list.enqueue(format);
792 }
793}
794
795LogFormat *
796LogFormatList::find_by_name(const char *name) const

Callers 1

parse_symbol_stringMethod · 0.45

Calls 1

enqueueMethod · 0.45

Tested by

no test coverage detected