mirror of
https://github.com/EQEmu/Server.git
synced 2026-04-07 21:32:26 +00:00
Remove EQDEBUG preprocessor from debug
This commit is contained in:
parent
fa83809130
commit
62ff6453ef
@ -54,10 +54,6 @@ namespace ConsoleColor {
|
|||||||
#define va_copy(d,s) ((d) = (s))
|
#define va_copy(d,s) ((d) = (s))
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static volatile bool logFileValid = false;
|
|
||||||
static EQEmuLog realLogFile;
|
|
||||||
EQEmuLog *LogFile = &realLogFile;
|
|
||||||
|
|
||||||
EQEmuLog::EQEmuLog()
|
EQEmuLog::EQEmuLog()
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|||||||
@ -16,31 +16,6 @@
|
|||||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Debug Levels
|
|
||||||
#ifndef EQDEBUG
|
|
||||||
#define EQDEBUG 1
|
|
||||||
#else
|
|
||||||
////// File/Console options
|
|
||||||
// 0 <= Quiet mode Errors to file Status and Normal ignored
|
|
||||||
// 1 >= Status and Normal to console, Errors to file
|
|
||||||
// 2 >= Status, Normal, and Error to console and logfile
|
|
||||||
// 3 >= Lite debug
|
|
||||||
// 4 >= Medium debug
|
|
||||||
// 5 >= Debug release (Anything higher is not recommended for regular use)
|
|
||||||
// 6 == (Reserved for special builds) Login opcode debug All packets dumped
|
|
||||||
// 7 == (Reserved for special builds) Chat Opcode debug All packets dumped
|
|
||||||
// 8 == (Reserved for special builds) World opcode debug All packets dumped
|
|
||||||
// 9 == (Reserved for special builds) Zone Opcode debug All packets dumped
|
|
||||||
// 10 >= More than you ever wanted to know
|
|
||||||
//
|
|
||||||
/////
|
|
||||||
// Add more below to reserve for file's functions ect.
|
|
||||||
/////
|
|
||||||
// Any setup code based on defines should go here
|
|
||||||
//
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
#if defined(_DEBUG) && defined(WIN32)
|
#if defined(_DEBUG) && defined(WIN32)
|
||||||
#ifndef _CRTDBG_MAP_ALLOC
|
#ifndef _CRTDBG_MAP_ALLOC
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
@ -81,6 +56,4 @@ public:
|
|||||||
private:
|
private:
|
||||||
};
|
};
|
||||||
|
|
||||||
extern EQEmuLog* LogFile;
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user