The Sparta Modeling Framework
Loading...
Searching...
No Matches
sparta::log::RawFormatter Class Reference

Formatter including no meta-data from the message. More...

#include <Destination.hpp>

Inheritance diagram for sparta::log::RawFormatter:
Collaboration diagram for sparta::log::RawFormatter:

Public Member Functions

 RawFormatter (std::ostream &stream)
 
void write (const sparta::log::Message &msg) override
 Write a log message to a report.
 
void writeHeader (const SimulationInfo &sim_info) override
 Write a header to a newly-opened report.
 
- Public Member Functions inherited from sparta::log::Formatter
 Formatter (std::ostream &stream)
 Constructor.
 
virtual ~Formatter ()
 Destructor.
 

Additional Inherited Members

- Static Public Attributes inherited from sparta::log::Formatter
static const InfoFORMATTERS
 Formatter list terminated with a Info having an empty name which is interpreted as the default formatter.
 
- Protected Attributes inherited from sparta::log::Formatter
std::ostream & stream_
 

Detailed Description

Formatter including no meta-data from the message.

Definition at line 356 of file Destination.hpp.

Constructor & Destructor Documentation

◆ RawFormatter()

sparta::log::RawFormatter::RawFormatter ( std::ostream &  stream)
inline

Definition at line 358 of file Destination.hpp.

Member Function Documentation

◆ write()

void sparta::log::RawFormatter::write ( const sparta::log::Message msg)
inlineoverridevirtual

Write a log message to a report.

Implements sparta::log::Formatter.

Definition at line 362 of file Destination.hpp.

Here is the call graph for this function:

◆ writeHeader()

void sparta::log::RawFormatter::writeHeader ( const SimulationInfo sim_info)
inlineoverridevirtual

Write a header to a newly-opened report.

Implements sparta::log::Formatter.

Definition at line 367 of file Destination.hpp.

Here is the call graph for this function:

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