MCPcopy Create free account
hub / github.com/DanielChappuis/reactphysics3d / getFormatter

Method getFormatter

testbed/src/TestbedLogger.cpp:79–87  ·  view source on GitHub ↗

Return the corresponding format

Source from the content-addressed store, hash-verified

77
78// Return the corresponding format
79DefaultLogger::Formatter* TestbedLogger::getFormatter(DefaultLogger::Format format) const {
80
81 auto it = mFormatters.find(format);
82 if (it != mFormatters.end()) {
83 return it->second;
84 }
85
86 return nullptr;
87}
88
89// Add a log file destination to the logger
90void TestbedLogger::addFileDestination(const std::string& worldName, reactphysics3d::uint logLevelFlag, reactphysics3d::DefaultLogger::Format format) {

Callers

nothing calls this directly

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected