ReactPhysics3D  v0.10.2
C++ Physics engine library
Loading...
Searching...
No Matches
reactphysics3d::DefaultLogger::HtmlFormatter Class Reference

Format the logs with HTML. More...

#include <include/reactphysics3d/utils/DefaultLogger.h>

Inheritance diagram for reactphysics3d::DefaultLogger::HtmlFormatter:
reactphysics3d::DefaultLogger::Formatter

Public Member Functions

 HtmlFormatter ()
 Constructor.
 
virtual ~HtmlFormatter () override
 Destructor.
 
virtual std::string format (const time_t &time, const std::string &physicsWorldName, const std::string &message, Level level, Category category, const char *filename, int lineNumber) override
 Format a log message.
 
- Public Member Functions inherited from reactphysics3d::DefaultLogger::Formatter
 Formatter ()
 Constructor.
 
virtual ~Formatter ()
 Destructor.
 
std::tm getLocalTime (const std::time_t &time) const
 Return the current date and time.
 

Detailed Description

Format the logs with HTML.

Member Function Documentation

◆ format()

virtual std::string reactphysics3d::DefaultLogger::HtmlFormatter::format ( const time_t &  time,
const std::string &  physicsWorldName,
const std::string &  message,
Level  level,
Category  category,
const char *  filename,
int  lineNumber 
)
inlineoverridevirtual

Format a log message.

Implements reactphysics3d::DefaultLogger::Formatter.


The documentation for this class was generated from the following file: