Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

DEBUG Class Reference

Log a debugging message. More...

#include <FlyLegacy.h>

List of all members.

Public Member Functions

 DEBUG (const char *file=NULL, int line=0)
void operator() (const char *fmt=NULL,...)

Private Attributes

char m_file [1024]
int m_line


Detailed Description

If debug logging is enabled, then referencing the DEBUGLOG macro will result in the message being written to the debug log. Debug messages are only intended for use by the development team and would not typically be used by end-users.

Definition at line 1787 of file FlyLegacy.h.


Constructor & Destructor Documentation

DEBUG::DEBUG const char *  file = NULL,
int  line = 0
[inline]
 

Definition at line 1793 of file FlyLegacy.h.

References m_file.


Member Function Documentation

void DEBUG::operator() const char *  fmt = NULL,
  ...
 

Todo:
Make agnostic to path separator

Definition at line 1473 of file Main.cpp.

References SGlobals::logDebug, m_file, m_line, and CLogFile::Write().


Member Data Documentation

char DEBUG::m_file[1024] [private]
 

Definition at line 1789 of file FlyLegacy.h.

Referenced by DEBUG(), and operator()().

int DEBUG::m_line [private]
 

Definition at line 1790 of file FlyLegacy.h.

Referenced by operator()().


The documentation for this class was generated from the following files:
SourceForge.net Logo Documentation generated by doxygen