DataDirector API
Public Member Functions | List of all members
DDD_SimpleStreamLog Class Reference

DDD_SimpleStreamLog. Logging observer that outputs to a stream. More...

#include <DDD_SimpleStreamLog.h>

Inheritance diagram for DDD_SimpleStreamLog:
DDD_LogObserver

Public Member Functions

 DDD_SimpleStreamLog (std::ostream *logStream)
 
 ~DDD_SimpleStreamLog ()
 
virtual void LogEntry (const DDD_LogEntry &entry)
 
void Flush ()
 

Detailed Description

DDD_SimpleStreamLog. Logging observer that outputs to a stream.

Constructor & Destructor Documentation

DDD_SimpleStreamLog ( std::ostream *  logStream)

constructor

Parameters
logStreamThe stream to log to
clientNameThe name client (will be printed in the log)

destructor

Member Function Documentation

void Flush ( )

Flush the log file

virtual void LogEntry ( const DDD_LogEntry entry)
virtual

Write a log entry to the file

Parameters
entryThe log entry to write

Implements DDD_LogObserver.


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