dtUtil::LogFile Class Reference

#include <log.h>

List of all members.

Static Public Member Functions

static void SetFileName (const std::string &name)
 Change the name of the log file (defaults to "delta3d_log.html").
static const std::string GetFileName ()
 Get the current filename of the log file.
static void SetTitle (const std::string &title)
 change the title string used in HTML defaults to "Delta 3D Engine Log File" or "Delta 3D Engine Log File (Debug Libs)"
static const std::string & GetTitle ()
 Get the current HTML title string.


Member Function Documentation

void dtUtil::LogFile::SetFileName ( const std::string &  name  )  [static]

Change the name of the log file (defaults to "delta3d_log.html").

This will close the existing file (if opened) and create a new file with the supplied filename.

Parameters:
name : The name of the new file (will be written using HTML)

const std::string dtUtil::LogFile::GetFileName (  )  [static]

Get the current filename of the log file.

void dtUtil::LogFile::SetTitle ( const std::string &  title  )  [static]

change the title string used in HTML defaults to "Delta 3D Engine Log File" or "Delta 3D Engine Log File (Debug Libs)"

const std::string & dtUtil::LogFile::GetTitle (  )  [static]

Get the current HTML title string.


http://www.delta3d.org
2.0.0 generated 14 Feb 2008