# SimpleContentsPrinter Class Reference

This LogContentsPrinter implementation writes both the SimpleLoggables and CompositeLoggables onto a std::ostringstream in a simple format including the Loggable's name. More...

`#include <SimpleTextLogPrinter.h>`

Inheritance diagram for SimpleContentsPrinter:

List of all members.

## Public Member Functions
| SimpleContentsPrinter (std::tostringstream &stream)
void | LogContentInternal (const std::tstring &name, const SimpleLoggable &loggable)
| Implementation of this method should save the result of formatting this SimpleLoggable into the LogContentsPrinter state.
void | LogContentInternal (const std::tstring &name, const CompositeLoggable &loggable)
| Implementation of this method should save the result of formatting this CompositeLoggable into the LogContentsPrinter state.
## Private Attributes
std::tostringstream & | m_stream

## Detailed Description

This LogContentsPrinter implementation writes both the SimpleLoggables and CompositeLoggables onto a std::ostringstream in a simple format including the Loggable's name.

Definition at line 41 of file SimpleTextLogPrinter.h.

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

- SimpleTextLogPrinter.h