TreeFrogFramework  1.18
Public Member Functions | List of all members
TDebug Class Reference

#include <tdebug.h>

Public Member Functions

 TDebug (int priority)
 
 TDebug (const TDebug &other)
 
 ~TDebug ()
 
TDebugoperator= (const TDebug &other)
 
TDebug fatal () const
 
TDebug error () const
 
TDebug warn () const
 
TDebug info () const
 
TDebug debug () const
 
TDebug trace () const
 
void fatal (const char *fmt,...) const T_ATTRIBUTE_FORMAT(2
 
void void error (const char *fmt,...) const T_ATTRIBUTE_FORMAT(2
 
void void void warn (const char *fmt,...) const T_ATTRIBUTE_FORMAT(2
 
void void void void info (const char *fmt,...) const T_ATTRIBUTE_FORMAT(2
 
void void void void void debug (const char *fmt,...) const T_ATTRIBUTE_FORMAT(2
 
void void void void void void trace (const char *fmt,...) const T_ATTRIBUTE_FORMAT(2
 
void void void void void void TDebugoperator<< (QChar t)
 
TDebugoperator<< (bool t)
 
TDebugoperator<< (char t)
 
TDebugoperator<< (short t)
 
TDebugoperator<< (unsigned short t)
 
TDebugoperator<< (int t)
 
TDebugoperator<< (unsigned int t)
 
TDebugoperator<< (long t)
 
TDebugoperator<< (unsigned long t)
 
TDebugoperator<< (qint64 t)
 
TDebugoperator<< (quint64 t)
 
TDebugoperator<< (float t)
 
TDebugoperator<< (double t)
 
TDebugoperator<< (const char *t)
 
TDebugoperator<< (const QString &t)
 
TDebugoperator<< (const QStringRef &t)
 
TDebugoperator<< (const QLatin1String &t)
 
TDebugoperator<< (const QByteArray &t)
 
TDebugoperator<< (const QVariant &t)
 
TDebugoperator<< (const void *t)
 
TDebugoperator<< (std::nullptr_t)
 

Detailed Description

The TDebug class provides a file output stream for debugging information.

Constructor & Destructor Documentation

TDebug::TDebug ( int  priority)
inline
TDebug::TDebug ( const TDebug other)
TDebug::~TDebug ( )

Member Function Documentation

TDebug TDebug::debug ( ) const
inline
void TDebug::debug ( const char *  fmt,
  ... 
) const

Writes the debug message fmt to the file app.log.

TDebug TDebug::error ( ) const
inline
void TDebug::error ( const char *  fmt,
  ... 
) const

Writes the error message fmt to the file app.log.

TDebug TDebug::fatal ( ) const
inline
void TDebug::fatal ( const char *  fmt,
  ... 
) const

Writes the fatal message fmt to the file app.log.

TDebug TDebug::info ( ) const
inline
void TDebug::info ( const char *  fmt,
  ... 
) const

Writes the information message fmt to the file app.log.

void void void void void void TDebug& TDebug::operator<< ( QChar  t)
inline
TDebug& TDebug::operator<< ( bool  t)
inline
TDebug& TDebug::operator<< ( char  t)
inline
TDebug& TDebug::operator<< ( short  t)
inline
TDebug& TDebug::operator<< ( unsigned short  t)
inline
TDebug& TDebug::operator<< ( int  t)
inline
TDebug& TDebug::operator<< ( unsigned int  t)
inline
TDebug& TDebug::operator<< ( long  t)
inline
TDebug& TDebug::operator<< ( unsigned long  t)
inline
TDebug& TDebug::operator<< ( qint64  t)
inline
TDebug& TDebug::operator<< ( quint64  t)
inline
TDebug& TDebug::operator<< ( float  t)
inline
TDebug& TDebug::operator<< ( double  t)
inline
TDebug& TDebug::operator<< ( const char *  t)
inline
TDebug& TDebug::operator<< ( const QString &  t)
inline
TDebug& TDebug::operator<< ( const QStringRef &  t)
inline
TDebug& TDebug::operator<< ( const QLatin1String &  t)
inline
TDebug& TDebug::operator<< ( const QByteArray &  t)
inline
TDebug& TDebug::operator<< ( const QVariant &  t)
inline
TDebug& TDebug::operator<< ( const void *  t)
inline
TDebug& TDebug::operator<< ( std::nullptr_t  )
inline
TDebug & TDebug::operator= ( const TDebug other)
TDebug TDebug::trace ( ) const
inline
void TDebug::trace ( const char *  fmt,
  ... 
) const

Writes the trace message fmt to the file app.log.

TDebug TDebug::warn ( ) const
inline
void TDebug::warn ( const char *  fmt,
  ... 
) const

Writes the warning message fmt to the file app.log.


The documentation for this class was generated from the following files: