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

Method TestbedLogger

testbed/src/TestbedLogger.cpp:32–41  ·  view source on GitHub ↗

Constructor

Source from the content-addressed store, hash-verified

30
31// Constructor
32TestbedLogger::TestbedLogger() {
33
34 // Create the log formatters
35 mFormatters.insert({reactphysics3d::DefaultLogger::Format::Text, new reactphysics3d::DefaultLogger::TextFormatter()});
36 mFormatters.insert({reactphysics3d::DefaultLogger::Format::HTML, new reactphysics3d::DefaultLogger::HtmlFormatter()});
37
38 // Add destination to send warning and errors to standard output
39 uint warningsErrors = static_cast<uint>(reactphysics3d::Logger::Level::Warning);
40 addStreamDestination(std::cout, warningsErrors, reactphysics3d::DefaultLogger::Format::Text);
41}
42
43// Destructor
44TestbedLogger::~TestbedLogger() {

Callers

nothing calls this directly

Calls 1

insertMethod · 0.80

Tested by

no test coverage detected