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

Method addReporter

lib/catch2/catch.hpp:17098–17102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17096 }
17097
17098 void ListeningReporter::addReporter(IStreamingReporterPtr&& reporter) {
17099 assert(!m_reporter && "Listening reporter can wrap only 1 real reporter");
17100 m_reporter = std::move( reporter );
17101 m_preferences.shouldRedirectStdOut = m_reporter->getPreferences().shouldRedirectStdOut;
17102 }
17103
17104 ReporterPreferences ListeningReporter::getPreferences() const {
17105 return m_preferences;

Callers 1

makeReporterFunction · 0.80

Calls 1

getPreferencesMethod · 0.45

Tested by

no test coverage detected