Home || Architecture || Video Search || Visual Search || Scripts || Applications || Important Messages || OGL || Src

ILog.h File Reference

#include "Basis/LibConfig.h"
#include "Basis/String.h"
#include "Basis/StringList.h"
#include "Basis/Logger.h"

Include dependency graph for ILog.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  Impala

Classes

class  Impala::ILogErrors

Defines

#define ILOG_VAR_DEC   static Impala::String sLog
#define ILOG_VAR_INIT(classstring, pathstring)   Impala::String classstring::sLog = #pathstring "." #classstring
#define ILOG_VAR_INIT_TEMPL_1(classstring, templ, pathstring)
#define ILOG_VAR_INIT_TEMPL_2(classstring, templ1, templ2, pathstring)
#define ILOG_VAR_INIT_TEMPL_4(classstring, templ1, templ2, templ3, templ4, pathstring)
#define ILOG_VAR(funcstring)   static Impala::String sLog = #funcstring
#define ILOG_DEBUG(message)   { Impala::Logger::Debug() << sLog << " " << message << std::endl; }
#define ILOG_INFO(message)   { Impala::Logger::Information() << sLog << " " << message << std::endl; }
#define ILOG_WARN(message)   { Impala::Logger::Warning() << sLog << " " << message << std::endl; }
#define ILOG_ERROR(message)   { Impala::Logger::Error() << sLog << " " << message << std::endl; if (gExitOnErrorLogged) exit(ILOG_EXIT_CODE); }
#define ILOG_USER(message)   { Impala::Logger::User() << sLog << " " << message << std::endl; }
#define ILOG_SYSTEM(message)   { Impala::Logger::System() << sLog << " " << message << std::endl; }
#define ILOG_STARTACTION(actionname, level)   { Impala::Logger::StartAction(actionname, level); }
#define ILOG_ENDACTION(actionname)   { Impala::Logger::EndAction(actionname); }
#define ILOG_LEVEL_DEBUG   1
#define ILOG_LEVEL_INFO   2
#define ILOG_LEVEL_SYSTEM   6
#define ILOG_LEVEL_USER   7
#define ILOG_NDC_PUSH(message)
#define ILOG_NDC_POP
#define ILOG_VAR_DECL   ILOG_VAR_DEC
#define ILOG_WARNING   ILOG_WARN
#define ILOG_FUNCTION   ILOG_VAR
#define ILOG_CLASS   ILOG_VAR_DEC
#define ILOG_CLASS_INIT   ILOG_VAR_INIT
#define ILOG_PROGRESS(message, timeout)
#define ILOG_PROGRESS_DONE(message)   ILOG_INFO(message)
#define ILOG_ERROR_COUNT   ILogErrors::GetInstance().GetTotalNrErrors()

Variables

static int ILOG_EXIT_CODE = 42
bool gExitOnErrorLogged = false
bool gLog4CppFlushOutput = false


Generated on Fri Mar 19 09:43:05 2010 for ImpalaSrc by  doxygen 1.5.1