MCPcopy Create free account
hub / github.com/apache/nifi-minifi-cpp / reset

Method reset

libminifi/test/TestBase.h:167–175  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

165 }
166
167 void reset() {
168 for (auto const & name : modified_loggers) {
169 setLevel(name, spdlog::level::err);
170 }
171 modified_loggers.clear();
172 if (config)
173 config = logging::LoggerConfiguration::newInstance();
174 resetStream(log_output);
175 }
176
177 inline void resetStream(std::ostringstream &stream) {
178 stream.str("");

Callers 1

TestControllerMethod · 0.45

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected