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

WARN Class Reference

Log a warning about unexpected (but not fatal) situations. More...

#include <FlyLegacy.h>

List of all members.

Public Member Functions

 WARN (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 logging is enabled, then referencing the WARNINGLOG macro will result in the appropriate message being written to the log. Warnings should be used for situations which are unexpected but not fatal. It is expected that end-users may need to refer to the warning log to troubleshoot why a particular add-on is not working on their system.

Definition at line 1767 of file FlyLegacy.h.


Constructor & Destructor Documentation

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

Definition at line 1773 of file FlyLegacy.h.

References m_file.


Member Function Documentation

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

Todo:
Make agnostic to path separator

Definition at line 1431 of file Main.cpp.

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


Member Data Documentation

char WARN::m_file[1024] [private]
 

Definition at line 1769 of file FlyLegacy.h.

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

int WARN::m_line [private]
 

Definition at line 1770 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