Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

Log.h File Reference

#include <stdio.h>
#include <stdarg.h>
#include <string.h>

Include dependency graph for Log.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Log

Defines

#define LOG_MAX_LEN   512
#define LOG_MSG_ERROR   0
#define LOG_MSG_SUCCESS   1
#define LOG_MSG_MISC   2
#define LOG_FILE(f)   Log::instance()->setFile(f)
#define LOG_ERROR(m)   Log::instance()->printError m
#define LOG_SUCCESS(m)   Log::instance()->printSuccess m
#define LOG_MISC(m)   Log::instance()->printMisc m
#define LOG_NEWLINE   Log::instance()->printNewline()
#define LOG_CLOSE   Log::instance()->clear()


Define Documentation

#define LOG_CLOSE   Log::instance()->clear()
 

Definition at line 27 of file Log.h.

Referenced by WinMain().

#define LOG_ERROR  )     Log::instance()->printError m
 

Definition at line 23 of file Log.h.

Referenced by Renderer::addCubemap(), Renderer::addShader(), Gne::aPlayer(), OpenGLObject::clearVertexBuffer(), Gne::clientThread(), OpenGLRenderer::createShader(), OpenGLObject::createVertexBuffer(), Renderer::deleteTexture(), Gne::disconnect(), initExtensions(), SoundMedia::initialize(), Gne::joinServer(), Gne::listen(), Sound::load(), Music::load(), MainApp::load(), AVI::load(), Image::loadBMP(), MilkShape::loadFromAsciiFile(), Image::loadImage(), Gne::sendChatMsg(), Gne::sendDisconnectToAll(), Gne::sendPlayer(), Gne::sendPlayerToAll(), Gne::setPlayerInfoSelf(), Gne::setPlayerName(), Gne::setPort(), Sphere::Sphere(), Gne::startServer(), Tube::Tube(), Connection::waitForConnection(), and WinMain().

#define LOG_FILE  )     Log::instance()->setFile(f)
 

Definition at line 22 of file Log.h.

Referenced by WinMain().

#define LOG_MAX_LEN   512
 

Log.h

"Singleton class"

Author: Petter Alstermark, petter@alstermark.com

Definition at line 16 of file Log.h.

Referenced by Log::printError(), Log::printMisc(), and Log::printSuccess().

#define LOG_MISC  )     Log::instance()->printMisc m
 

Definition at line 25 of file Log.h.

Referenced by Join::getPlayerChatColor(), Join::load(), MilkShape::loadFromAsciiFile(), Scores::update(), and Join::update().

#define LOG_MSG_ERROR   0
 

Definition at line 18 of file Log.h.

Referenced by Log::printError(), and Log::printFile().

#define LOG_MSG_MISC   2
 

Definition at line 20 of file Log.h.

Referenced by Log::printFile(), and Log::printMisc().

#define LOG_MSG_SUCCESS   1
 

Definition at line 19 of file Log.h.

Referenced by Log::printFile(), and Log::printSuccess().

#define LOG_NEWLINE   Log::instance()->printNewline()
 

Definition at line 26 of file Log.h.

Referenced by MainApp::deInitialize(), MainApp::initialize(), MainApp::load(), and MainApp::unload().

#define LOG_SUCCESS  )     Log::instance()->printSuccess m
 

Definition at line 24 of file Log.h.

Referenced by Renderer::addCubemap(), Renderer::addFragmentShader(), Renderer::addShader(), Box::Box(), OpenGLObject::clearVertexBuffer(), OpenGLObject::createVertexBuffer(), Cubemap::Cubemap(), SoundMedia::deInitialize(), MainApp::deInitialize(), Renderer::deleteShader(), Renderer::deleteTexture(), OpenGLFont::init(), Gne::init(), initExtensions(), SoundMedia::initialize(), MainApp::initialize(), Gne::joinServer(), Sound::load(), Scores::load(), Play::load(), ObjLevel::load(), Music::load(), Menu::load(), MainApp::load(), Join::load(), Demo::load(), Image::loadBMP(), MilkShape::loadFromAsciiFile(), Log::setFile(), Gne::setMaxPlayers(), Gne::setPort(), Sphere::Sphere(), Tube::Tube(), Sound::unload(), Scores::unload(), Play::unload(), Music::unload(), Menu::unload(), MainApp::unload(), Join::unload(), Demo::unload(), WinMain(), Object::~Object(), ObjLevel::~ObjLevel(), and OpenGLFont::~OpenGLFont().


Generated on Sun Jun 5 15:47:47 2005 for Defacto by  doxygen 1.4.3