Debug Log Library


Enumerations

enum  pgeLogTypes {
  PGE_LOG = 0x000001,
  PGE_LOG_ERROR = 0x000008,
  PGE_LOG_MEMORY = 0x000010
}

Functions

int pgeLogInit (unsigned int logFile, unsigned int logConsole)
void pgeLogShutdown (void)
void pgeLogPrint (const char *message,...)
void pgeLogError (const char *message,...)
void pgeLogMemory (const char *message,...)

Enumeration Type Documentation

enum pgeLogTypes

Enumerator:
PGE_LOG 
PGE_LOG_ERROR 
PGE_LOG_MEMORY 


Function Documentation

void pgeLogError ( const char *  message,
  ... 
)

Print to the error log

Parameters:
message - The text to print

int pgeLogInit ( unsigned int  logFile,
unsigned int  logConsole 
)

Initialise logging

Returns:
1 on success.

void pgeLogMemory ( const char *  message,
  ... 
)

Print to the memory log

Parameters:
message - The text to print

void pgeLogPrint ( const char *  message,
  ... 
)

Print to the log

Parameters:
message - The text to print

void pgeLogShutdown ( void   ) 

Shutdown logging


Generated on Tue May 15 07:21:01 2007 for Phoenix Game Engine by  doxygen 1.5.2