ReactPhysics3D  v0.10.1
C++ Physics engine library
reactphysics3d::DefaultLogger::StreamDestination Class Reference

Stream destination for the logs. More...

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

Inheritance diagram for reactphysics3d::DefaultLogger::StreamDestination:
reactphysics3d::DefaultLogger::Destination

Public Member Functions

 StreamDestination (std::ostream &outputStream, uint maxlevelFlag, Formatter *formatter)
 Constructor.
 
virtual ~StreamDestination () override
 Destructor.
 
virtual void write (const time_t &time, const std::string &physicsWorldName, const std::string &message, Level level, Category category, const char *filename, int lineNumber) override
 Write a message into the output stream.
 
virtual size_t getSizeBytes () const override
 Return the size in bytes of the type.
 
- Public Member Functions inherited from reactphysics3d::DefaultLogger::Destination
 Destination (uint maxLevelFlag, Formatter *logFormatter)
 Constructor.
 
virtual ~Destination ()
 Destructor.
 

Additional Inherited Members

- Public Attributes inherited from reactphysics3d::DefaultLogger::Destination
uint maxLevelFlag
 Maximum Log level flag for this destination.
 
Formatterformatter
 Pointer to the formatter.
 

Detailed Description

Stream destination for the logs.


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