/home/barant/Development/BMA/server_core/ServerCore/BMALog.h
#ifndef __BMALog_h__
#define __BMALog_h__
#include "includes"
#include "BMAConsoleServer.h"
#include "BMAFile.h"
static const int LOG_NONE = 0;
static const int LOG_INFO = 1;
static const int LOG_WARN = 2;
static const int LOG_EXCEPT = 4;
static const int LOG_DEBUG_1 = 8;
static const int LOG_DEBUG_2 = 16;
static const int LOG_DEBUG_3 = 32;
static const int LOG_DEBUG_4 = 64;
class BMALog : public std::ostringstream, public BMAObject {
public:
BMALog(BMAConsoleServer *consoleServer);
BMALog(BMAFile *logFile);
BMALog(int level);
~BMALog();
bool output = false;
static BMAConsoleServer *consoleServer;
static BMAFile *logFile;
static int seq;
};
#endif
BMALog
Definition: BMALog.h:24
BMALog::BMALog
BMALog(BMAConsoleServer *consoleServer)
Definition: BMALog.cpp:8
BMALog::consoleServer
static BMAConsoleServer * consoleServer
Definition: BMALog.h:70
BMALog::seq
static int seq
Definition: BMALog.h:84
BMAConsoleServer
Definition: BMAConsoleServer.h:9
BMALog::logFile
static BMAFile * logFile
Definition: BMALog.h:77
BMAObject
Definition: BMAObject.h:6
BMALog::~BMALog
~BMALog()
Definition: BMALog.cpp:59
BMAFile
Definition: BMAFile.h:12