SOFA API  ca665544
Open source framework for multi-physics simuation
sofa::helper::logging::MessageFormatter Class Referenceabstract

#include <MessageFormatter.h>

Inheritance diagram for sofa::helper::logging::MessageFormatter:

Public Member Functions

virtual void formatMessage (const Message &m, std::ostream &out)=0
 

Protected Member Functions

 MessageFormatter ()
 
virtual std::string getPrefixText (unsigned int type) const
 
virtual std::ostream & setColor (std::ostream &stream, unsigned int type) const
 

Constructor details

◆ MessageFormatter()

sofa::helper::logging::MessageFormatter::MessageFormatter ( )
inlineprotected

Function details

◆ formatMessage()

virtual void sofa::helper::logging::MessageFormatter::formatMessage ( const Message m,
std::ostream &  out 
)
pure virtual

◆ getPrefixText()

std::string sofa::helper::logging::MessageFormatter::getPrefixText ( unsigned int  type) const
protectedvirtual

◆ setColor()

std::ostream & sofa::helper::logging::MessageFormatter::setColor ( std::ostream &  stream,
unsigned int  type 
) const
protectedvirtual