FirstLevelContentsPrinter Class Reference

This LogContentsPrinter implementation writes only the CompositeLoggables onto a std::ostringstream in a simple format that doesn't include the Loggable's name. More...

#include <SimpleTextLogPrinter.h>

Inheritance diagram for FirstLevelContentsPrinter:

LogContentsPrinter

List of all members.

Public Member Functions

 FirstLevelContentsPrinter (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
SimpleContentsPrinter m_simpleContentsPrinter


Detailed Description

This LogContentsPrinter implementation writes only the CompositeLoggables onto a std::ostringstream in a simple format that doesn't include the Loggable's name.

SimpleContentsPrinter is used to format Loggables found deeper in the structure of the message.

Definition at line 57 of file SimpleTextLogPrinter.h.


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

Generated on Thu Sep 17 15:05:17 2009 for Logging by  doxygen 1.5.8