Sourceforge.net - The VCF's Project Host
   The VCF Website Home   |   Online Discussion Forums   |   Sourceforge.net Project Page   

VCF::ErrorLog Class Reference

An ErrorLog represents a place to output status during the life of a running application. More...

#include <vcf/FoundationKit/ErrorLog.h>

Inheritance diagram for VCF::ErrorLog:

VCF::Object List of all members.

Public Member Functions

 ErrorLog (const String &ouputFilename="")
virtual ~ErrorLog ()
virtual void toLog (const String &text)
 send the string data contained in the text parameter to the log.

Detailed Description

An ErrorLog represents a place to output status during the life of a running application.

It takes care of managing the existence of a an error log on the system, and updating it with data.


Constructor & Destructor Documentation

VCF::ErrorLog::ErrorLog const String ouputFilename = ""  ) 
 

Parameters:
String the name of the log file to create. Must be a fully qualified path

virtual VCF::ErrorLog::~ErrorLog  )  [virtual]
 


Member Function Documentation

virtual void VCF::ErrorLog::toLog const String text  )  [virtual]
 

send the string data contained in the text parameter to the log.

This is currently a a blocking call, and does not support asynchronous file I/O.

Parameters:
String the status data to send to the log file


The documentation for this class was generated from the following file:
   Comments or Suggestions?    License Information