Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

RageLog Class Reference

#include <RageLog.h>

List of all members.

Public Member Functions

 RageLog ()
 ~RageLog ()
void Trace (const char *fmt,...) PRINTF(2
void Warn (const char *fmt,...) PRINTF(2
void Info (const char *fmt,...) PRINTF(2
void Flush ()
void MapLog (const CString &key, const char *fmt,...) PRINTF(3
void UnmapLog (const CString &key)
void SetShowLogOutput (bool show)
void SetLogToDisk (bool b)
void SetInfoToDisk (bool b)
void SetFlushing (bool b)

Static Public Member Functions

const char * GetAdditionalLog ()
const char * GetInfo ()
const char * GetRecentLog (int n)

Private Member Functions

void Write (int, const CString &str)
void UpdateMappedLog ()
void AddToInfo (const CString &buf)
void AddToRecentLogs (const CString &buf)

Private Attributes

bool m_bLogToDisk
bool m_bInfoToDisk
bool m_bFlush
bool m_bShowLogOutput


Constructor & Destructor Documentation

RageLog::RageLog  ) 
 

RageLog::~RageLog  ) 
 


Member Function Documentation

void RageLog::AddToInfo const CString &  buf  )  [private]
 

void RageLog::AddToRecentLogs const CString &  buf  )  [private]
 

void RageLog::Flush  ) 
 

const char * RageLog::GetAdditionalLog  )  [static]
 

const char * RageLog::GetInfo  )  [static]
 

const char * RageLog::GetRecentLog int  n  )  [static]
 

void RageLog::Info const char *  fmt,
  ...
 

void RageLog::MapLog const CString &  key,
const char *  fmt,
  ...
 

void RageLog::SetFlushing bool  b  ) 
 

void RageLog::SetInfoToDisk bool  b  ) 
 

void RageLog::SetLogToDisk bool  b  ) 
 

void RageLog::SetShowLogOutput bool  show  ) 
 

void RageLog::Trace const char *  fmt,
  ...
 

void RageLog::UnmapLog const CString &  key  ) 
 

void RageLog::UpdateMappedLog  )  [private]
 

void RageLog::Warn const char *  fmt,
  ...
 

void RageLog::Write int  ,
const CString &  str
[private]
 


Member Data Documentation

bool RageLog::m_bFlush [private]
 

bool RageLog::m_bInfoToDisk [private]
 

bool RageLog::m_bLogToDisk [private]
 

bool RageLog::m_bShowLogOutput [private]
 


The documentation for this class was generated from the following files:
Generated on Thu Jan 27 21:01:24 2005 for StepMania by doxygen 1.3.7