ReactPhysics3D
v0.10.2
C++ Physics engine library
|
Format the logs with simple text. More...
#include <include/reactphysics3d/utils/DefaultLogger.h>
Public Member Functions | |
TextFormatter () | |
Constructor. | |
virtual | ~TextFormatter () override |
Destructor. | |
virtual std::string | getHeader () const override |
Return the header to write at the beginning of the stream. | |
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. | |
virtual std::string | getTail () const |
Return the tail to write at the end of the stream. | |
std::tm | getLocalTime (const std::time_t &time) const |
Return the current date and time. | |
Format the logs with simple text.
|
inlineoverridevirtual |
Format a log message.
Implements reactphysics3d::DefaultLogger::Formatter.
|
inlineoverridevirtual |
Return the header to write at the beginning of the stream.
Reimplemented from reactphysics3d::DefaultLogger::Formatter.