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

Method DefaultLogger

src/utils/DefaultLogger.cpp:33–39  ·  view source on GitHub ↗

Constructor

Source from the content-addressed store, hash-verified

31
32// Constructor
33DefaultLogger::DefaultLogger(MemoryAllocator& allocator)
34 : mAllocator(allocator), mDestinations(allocator), mFormatters(allocator)
35{
36 // Create the log formatters
37 mFormatters.add(Pair<Format, Formatter*>(Format::Text, new TextFormatter()));
38 mFormatters.add(Pair<Format, Formatter*>(Format::HTML, new HtmlFormatter()));
39}
40
41// Destructor
42DefaultLogger::~DefaultLogger() {

Callers

nothing calls this directly

Calls 1

addMethod · 0.45

Tested by

no test coverage detected