Logger Class Reference

#include <GenUtils.h>

List of all members.

Static Public Member Functions

static void writeImmidiateInfoLog (const std::string &info)
static void writeFatalErrorLog (const std::string &logString)
static bool writeErrorLog (const std::string &error)
static void writeInfoLog (const std::string &info)
static void initialize (const char *logfilename=NULL)
static void flush ()

Static Private Attributes

static vector
< std::string > 
logStrings
static std::string logPath


Detailed Description

Definition at line 15 of file GenUtils.h.


Member Function Documentation

void Logger::writeImmidiateInfoLog ( const std::string &  info  )  [static]

Definition at line 89 of file GenUtils.cpp.

References flush(), and logStrings.

void Logger::writeFatalErrorLog ( const std::string &  logString  )  [static]

Definition at line 115 of file GenUtils.cpp.

References flush(), and logStrings.

bool Logger::writeErrorLog ( const std::string &  error  )  [static]

Definition at line 105 of file GenUtils.cpp.

References flush(), and logStrings.

Referenced by GUIPanel::addWidget(), GUIFont::build(), Texture::finalizeLoading(), Texture::load2D(), Texture::load2DImage(), Image::loadCompressedTrueColorTGA(), Image::loadPPM(), Texture::loadTextureFace(), Image::loadTGA(), Image::loadUncompressed8BitTGA(), Image::loadUncompressedTrueColorTGA(), Texture::loadXMLSettings(), GUITextBox::loadXMLSettings(), GUIText::loadXMLSettings(), GUITabbedPanel::loadXMLSettings(), GUISlider::loadXMLSettings(), GUISeparator::loadXMLSettings(), GUIRectangle::loadXMLSettings(), GUIPanel::loadXMLSettings(), GUILabel::loadXMLSettings(), GUIFrame::loadXMLSettings(), GUIFont::loadXMLSettings(), GUIComboBox::loadXMLSettings(), GUICheckBox::loadXMLSettings(), GUIButton::loadXMLSettings(), MediaPathManager::registerPath(), Texture::setID(), and GUITexCoordDescriptor::setType().

void Logger::writeInfoLog ( const std::string &  info  )  [static]

Definition at line 98 of file GenUtils.cpp.

References flush(), and logStrings.

Referenced by TexturesManager::flushAllTextures(), TexturesManager::flushUnusedTextures(), Texture::load2DImage(), and MediaPathManager::registerPath().

void Logger::initialize ( const char *  logfilename = NULL  )  [static]

Definition at line 68 of file GenUtils.cpp.

References logPath.

Referenced by GuiWrapper::Init().

void Logger::flush (  )  [static]

Definition at line 75 of file GenUtils.cpp.

References logPath, and logStrings.

Referenced by GuiWrapper::Init(), writeErrorLog(), writeFatalErrorLog(), writeImmidiateInfoLog(), and writeInfoLog().


Member Data Documentation

std::vector< std::string > Logger::logStrings [static, private]

Definition at line 26 of file GenUtils.h.

Referenced by flush(), writeErrorLog(), writeFatalErrorLog(), writeImmidiateInfoLog(), and writeInfoLog().

std::string Logger::logPath [static, private]

Definition at line 27 of file GenUtils.h.

Referenced by flush(), and initialize().


The documentation for this class was generated from the following files:
Generated on Wed Dec 5 20:32:03 2007 for GLWX by  doxygen 1.5.3