PPL6-Icon Patrick's Programming Library Version 6.4.21 - Dokumentation
ppl6::CDebug Klassenreferenz

Debug-Klasse.

Öffentliche Typen

enum  SYSLOG_FACILITY {
  SYSLOG_AUTH =1, SYSLOG_AUTHPRIV, SYSLOG_CONSOLE, SYSLOG_CRON,
  SYSLOG_DAEMON, SYSLOG_FTP, SYSLOG_KERN, SYSLOG_LPR,
  SYSLOG_MAIL, SYSLOG_NEWS, SYSLOG_NTP, SYSLOG_SECURITY,
  SYSLOG_SYSLOG, SYSLOG_USER, SYSLOG_UUCP, SYSLOG_LOCAL0,
  SYSLOG_LOCAL1, SYSLOG_LOCAL2, SYSLOG_LOCAL3, SYSLOG_LOCAL4,
  SYSLOG_LOCAL5, SYSLOG_LOCAL6, SYSLOG_LOCAL7
}
 

Öffentliche Methoden

 CDebug ()
 
 ~CDebug ()
 
int AddLogHandler (CLogHandler *handler)
 
void closeSyslog ()
 
void DeleteFilter (const char *module, const char *function)
 
void DeleteFilter (const char *file, int line)
 
int DeleteLogHandler (CLogHandler *handler)
 
int GetDebugLevel ()
 
int GetLogLevel (int facility)
 
void HexDump (int facility, int level, const void *address, int bytes)
 
void HexDump (const void *address, int bytes)
 
void Log (const char *text)
 
void Log (int level, const char *text)
 
void LogError (int level)
 
void LogError ()
 
void LogError (const char *file, int line)
 
void LogError (const char *module, const char *function, const char *file, int line)
 
void LogError (int facility, int level, const char *file, int line)
 
void LogError (int facility, int level, const char *module, const char *function, const char *file, int line)
 
void LogErrorCode (int level, ppluint32 errorcode)
 
void LogErrorCode (ppluint32 errorcode)
 
void Logf (const char *fmt,...)
 
void Logf (int level, const char *fmt,...)
 
void openSyslog (const CString &ident, SYSLOG_FACILITY facility=SYSLOG_USER)
 
void Print (int facility, int level, const char *text)
 
void Print (int facility, int level, const char *file, int line, const char *text)
 
void Print (int facility, int level, const char *module, const char *function, const char *file, int line, const char *text)
 
void Print (const char *text)
 
void Print (int level, const char *text)
 
void PrintArray (int facility, int level, const CAssocArray *a, const char *fmt,...)
 
void PrintArray (int facility, int level, const char *module, const char *function, const char *file, int line, const CAssocArray *a, const char *fmt,...)
 
void PrintArraySingleLine (int facility, int level, const char *module, const char *function, const char *file, int line, const CAssocArray *a, const char *fmt,...)
 
void Printf (int facility, int level, const char *file, int line, const char *fmt,...)
 
void Printf (int facility, int level, const char *module, const char *function, const char *file, int line, const char *fmt,...)
 
void Printf (const char *fmt,...)
 
void Printf (int level, const char *fmt,...)
 
void Printfs (int level, const char *fmt,...)
 
void Printfs (int facility, int level, const char *fmt,...)
 
void SetConsole (bool flag=true, int facility=LOG::DEBUG, int level=1)
 
void SetConsole (bool flag=true)
 
void SetDebugLevel (int level)
 
int SetFilter (const char *module, const char *function, int level)
 
int SetFilter (const char *file, int line, int level)
 
int SetLogfile (int facility, const char *filename)
 
void SetLogfile (const char *filename)
 
void SetLogLevel (int facility, int level=1)
 
int SetLogRotate (ppluint64 maxsize, int generations)
 
void Terminate ()
 

Dokumentation der Aufzählungstypen

Aufzählungswerte
SYSLOG_AUTH 
SYSLOG_AUTHPRIV 
SYSLOG_CONSOLE 
SYSLOG_CRON 
SYSLOG_DAEMON 
SYSLOG_FTP 
SYSLOG_KERN 
SYSLOG_LPR 
SYSLOG_MAIL 
SYSLOG_NEWS 
SYSLOG_NTP 
SYSLOG_SECURITY 
SYSLOG_SYSLOG 
SYSLOG_USER 
SYSLOG_UUCP 
SYSLOG_LOCAL0 
SYSLOG_LOCAL1 
SYSLOG_LOCAL2 
SYSLOG_LOCAL3 
SYSLOG_LOCAL4 
SYSLOG_LOCAL5 
SYSLOG_LOCAL6 
SYSLOG_LOCAL7 

Beschreibung der Konstruktoren und Destruktoren

ppl6::CDebug::CDebug ( )
ppl6::CDebug::~CDebug ( )

Dokumentation der Elementfunktionen

int ppl6::CLog::AddLogHandler ( CLogHandler handler)
inherited
void ppl6::CLog::closeSyslog ( )
inherited
void ppl6::CLog::DeleteFilter ( const char *  module,
const char *  function 
)
inherited
void ppl6::CLog::DeleteFilter ( const char *  file,
int  line 
)
inherited
int ppl6::CLog::DeleteLogHandler ( CLogHandler handler)
inherited
int ppl6::CDebug::GetDebugLevel ( )
int ppl6::CLog::GetLogLevel ( int  facility)
inherited
void ppl6::CLog::HexDump ( int  facility,
int  level,
const void *  address,
int  bytes 
)
inherited
void ppl6::CLog::HexDump ( const void *  address,
int  bytes 
)
inherited
void ppl6::CDebug::Log ( const char *  text)
void ppl6::CDebug::Log ( int  level,
const char *  text 
)
void ppl6::CLog::LogError ( int  level)
inherited
void ppl6::CLog::LogError ( )
inherited
void ppl6::CLog::LogError ( const char *  file,
int  line 
)
inherited
void ppl6::CLog::LogError ( const char *  module,
const char *  function,
const char *  file,
int  line 
)
inherited
void ppl6::CLog::LogError ( int  facility,
int  level,
const char *  file,
int  line 
)
inherited
void ppl6::CLog::LogError ( int  facility,
int  level,
const char *  module,
const char *  function,
const char *  file,
int  line 
)
inherited
void ppl6::CLog::LogErrorCode ( int  level,
ppluint32  errorcode 
)
inherited
void ppl6::CLog::LogErrorCode ( ppluint32  errorcode)
inherited
void ppl6::CDebug::Logf ( const char *  fmt,
  ... 
)
void ppl6::CDebug::Logf ( int  level,
const char *  fmt,
  ... 
)
void ppl6::CLog::openSyslog ( const CString ident,
SYSLOG_FACILITY  facility = SYSLOG_USER 
)
inherited
void ppl6::CLog::Print ( int  facility,
int  level,
const char *  text 
)
inherited
void ppl6::CLog::Print ( int  facility,
int  level,
const char *  file,
int  line,
const char *  text 
)
inherited
void ppl6::CLog::Print ( int  facility,
int  level,
const char *  module,
const char *  function,
const char *  file,
int  line,
const char *  text 
)
inherited
void ppl6::CDebug::Print ( const char *  text)
void ppl6::CDebug::Print ( int  level,
const char *  text 
)
void ppl6::CLog::PrintArray ( int  facility,
int  level,
const CAssocArray a,
const char *  fmt,
  ... 
)
inherited
void ppl6::CLog::PrintArray ( int  facility,
int  level,
const char *  module,
const char *  function,
const char *  file,
int  line,
const CAssocArray a,
const char *  fmt,
  ... 
)
inherited
void ppl6::CLog::PrintArraySingleLine ( int  facility,
int  level,
const char *  module,
const char *  function,
const char *  file,
int  line,
const CAssocArray a,
const char *  fmt,
  ... 
)
inherited
void ppl6::CLog::Printf ( int  facility,
int  level,
const char *  file,
int  line,
const char *  fmt,
  ... 
)
inherited
void ppl6::CLog::Printf ( int  facility,
int  level,
const char *  module,
const char *  function,
const char *  file,
int  line,
const char *  fmt,
  ... 
)
inherited
void ppl6::CDebug::Printf ( const char *  fmt,
  ... 
)
void ppl6::CDebug::Printf ( int  level,
const char *  fmt,
  ... 
)
void ppl6::CLog::Printfs ( int  level,
const char *  fmt,
  ... 
)
inherited
void ppl6::CLog::Printfs ( int  facility,
int  level,
const char *  fmt,
  ... 
)
inherited
void ppl6::CLog::SetConsole ( bool  flag = true,
int  facility = LOG::DEBUG,
int  level = 1 
)
inherited
void ppl6::CDebug::SetConsole ( bool  flag = true)
void ppl6::CDebug::SetDebugLevel ( int  level)
int ppl6::CLog::SetFilter ( const char *  module,
const char *  function,
int  level 
)
inherited
int ppl6::CLog::SetFilter ( const char *  file,
int  line,
int  level 
)
inherited
int ppl6::CLog::SetLogfile ( int  facility,
const char *  filename 
)
inherited
void ppl6::CDebug::SetLogfile ( const char *  filename)
void ppl6::CLog::SetLogLevel ( int  facility,
int  level = 1 
)
inherited
int ppl6::CLog::SetLogRotate ( ppluint64  maxsize,
int  generations 
)
inherited
void ppl6::CLog::Terminate ( )
inherited

Die Dokumentation für diese Klasse wurde erzeugt aufgrund der Dateien: