#include <GenUtils.h>
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 |
Definition at line 15 of file GenUtils.h.
void Logger::writeImmidiateInfoLog | ( | const std::string & | info | ) | [static] |
void Logger::writeFatalErrorLog | ( | const std::string & | logString | ) | [static] |
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] |
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().
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] |