OpenPolygon  1.0.0
OpenPolygon is a Rendering Engine
Public Types | Static Public Member Functions | List of all members
Engine::LogManager Class Reference

The LogManager class. More...

#include <logmanager.h>

Public Types

enum  Level {
  LOG_INFO, LOG_WARNING, LOG_ERROR, LOG_DEBUG,
  LOG_EXCEPTION
}
 

Static Public Member Functions

static LogManagergetSingletonPtr (void)
 getSingletonPtr More...
 
static void log (Level level, stringstream &message) throw ( std::runtime_error )
 log More...
 
static void log (Level level, const std::string &message) throw ( std::runtime_error )
 
static void FrameBufferCheckStatus (const std::string &information)
 
static void getError (const std::string &information)
 LogManager::getError. More...
 
static void printArray (float *pointer, int size)
 
static void printPointer (void *pointer)
 
static void printToFile (const std::string &file_name, const std::string &message)
 

Detailed Description

The LogManager class.

Logger - Print LogMessage into Console

Member Function Documentation

void LogManager::getError ( const std::string &  info)
static

LogManager::getError.

Check OpenGL Errors

Parameters
info
LogManager * LogManager::getSingletonPtr ( void  )
static

getSingletonPtr

Return LogManager Instance

Returns
void LogManager::log ( Level  level,
stringstream &  message 
)
throw (std::runtime_error
)
static

log

Print Log Message

Parameters
level
message

The documentation for this class was generated from the following files: