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

DDD_CSVLog. Logging observer that outputs to a CSV file. More...

#include <DDD_CSVLog.h>

Inheritance diagram for DDD_CSVLog:
DDD_LogObserver

Public Member Functions

 DDD_CSVLog (const char *outFileName, const char *clientName)
 
 ~DDD_CSVLog ()
 
virtual void LogEntry (const DDD_LogEntry &entry)
 
void Flush ()
 

Detailed Description

DDD_CSVLog. Logging observer that outputs to a CSV file.

Constructor & Destructor Documentation

DDD_CSVLog ( const char *  outFileName,
const char *  clientName 
)

constructor

Parameters
outFileNameThe name of the log file to open
clientNameThe name client (will be printed in the log)
~DDD_CSVLog ( )

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: