SOFA API  1a4bb3e7
Open source framework for multi-physics simuation
sofa::helper::logging::ClangStyleMessageFormatter Class Reference

#include <ClangStyleMessageFormatter.h>

Inheritance diagram for sofa::helper::logging::ClangStyleMessageFormatter:

Public Member Functions

void formatMessage (const Message &m, std::ostream &out) override
 

Static Public Member Functions

static ClangStyleMessageFormattergetInstance ()
 

Protected Member Functions

std::string getPrefixText (unsigned int type) const override
 
- Protected Member Functions inherited from sofa::helper::logging::MessageFormatter
 MessageFormatter ()
 
virtual std::ostream & setColor (std::ostream &stream, unsigned int type) const
 

Function details

◆ formatMessage()

void sofa::helper::logging::ClangStyleMessageFormatter::formatMessage ( const Message m,
std::ostream &  out 
)
overridevirtual

◆ getInstance()

static ClangStyleMessageFormatter& sofa::helper::logging::ClangStyleMessageFormatter::getInstance ( )
inlinestatic

◆ getPrefixText()

std::string sofa::helper::logging::ClangStyleMessageFormatter::getPrefixText ( unsigned int  type) const
overrideprotectedvirtual