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

Impala::Logger Class Reference

#include <Logger.h>

Inheritance diagram for Impala::Logger:

Inheritance graph
[legend]
Collaboration diagram for Impala::Logger:

Collaboration graph
[legend]
List of all members.

Public Member Functions

virtual ~Logger ()
Loggeroperator<< (String log)
Loggeroperator<< (std::ostream &(*f)(std::ostream &))

Static Public Member Functions

static void Configure (int logLevel, String logFile, bool debug)
static LogType Debug (int level=Logger::LOG_DEBUG)
static LogType Log (int level=Logger::LOG_INFO)
static LogType User ()
static LogType System ()
static LogType Error ()
static LogType Warning ()
static LogType Information ()
static void StartAction (String actionName, int level=LOG_USER)
static double EndAction (String actionName)
static void OpenPartLog ()
static void ClosePartLog (String filename)

Static Public Attributes

static const int LOG_DEBUG = 1
static const int LOG_INFO = 2
static const int LOG_WARNING = 3
static const int LOG_ERROR = 4
static const int LOG_ACTION = 5
static const int LOG_SYSTEM = 6
static const int LOG_USER = 7

Protected Member Functions

virtual void LogString (String log, bool isPartial=false, int level=LOG_DEBUG)
void EndLine (int level)
String GetHeader (int level)
void DoOpenPartLog ()
void DoClosePartLog (String filename)

Private Member Functions

 Logger ()
void Init (int logLevel, String logFile, bool debug)

Static Private Member Functions

static LoggerGetInstance ()

Private Attributes

std::map< String, double > mActionTimes
std::map< String, int > mActionLevels
String mLogFile
bool mLogToFile
bool mLineStarted
int mShowLevel
TimermTimer
std::fstream * mLog
std::ostringstream * mPLog
std::fstream * mErrorLog

Detailed Description

Definition at line 74 of file Logger.h.


The documentation for this class was generated from the following file:
Generated on Fri Mar 19 10:35:48 2010 for ImpalaSrc by  doxygen 1.5.1