TreeFrogFramework  1.29
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 QStringList &t)
 
TDebugoperator<< (const QByteArray &t)
 
TDebugoperator<< (const QByteArrayList &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() [1/2]

TDebug::TDebug ( int  priority)
inline

◆ TDebug() [2/2]

TDebug::TDebug ( const TDebug other)

◆ ~TDebug()

TDebug::~TDebug ( )

Member Function Documentation

◆ debug() [1/2]

TDebug TDebug::debug ( ) const
inline

◆ debug() [2/2]

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

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

◆ error() [1/2]

TDebug TDebug::error ( ) const
inline

◆ error() [2/2]

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

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

◆ fatal() [1/2]

TDebug TDebug::fatal ( ) const
inline

◆ fatal() [2/2]

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

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

◆ info() [1/2]

TDebug TDebug::info ( ) const
inline

◆ info() [2/2]

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

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

◆ operator<<() [1/23]

TDebug& TDebug::operator<< ( bool  t)
inline

◆ operator<<() [2/23]

TDebug& TDebug::operator<< ( char  t)
inline

◆ operator<<() [3/23]

TDebug& TDebug::operator<< ( const char *  t)
inline

◆ operator<<() [4/23]

TDebug& TDebug::operator<< ( const QByteArray &  t)
inline

◆ operator<<() [5/23]

TDebug& TDebug::operator<< ( const QByteArrayList &  t)
inline

◆ operator<<() [6/23]

TDebug& TDebug::operator<< ( const QLatin1String &  t)
inline

◆ operator<<() [7/23]

TDebug& TDebug::operator<< ( const QString &  t)
inline

◆ operator<<() [8/23]

TDebug& TDebug::operator<< ( const QStringList &  t)
inline

◆ operator<<() [9/23]

TDebug& TDebug::operator<< ( const QStringRef &  t)
inline

◆ operator<<() [10/23]

TDebug& TDebug::operator<< ( const QVariant &  t)
inline

◆ operator<<() [11/23]

TDebug& TDebug::operator<< ( const void *  t)
inline

◆ operator<<() [12/23]

TDebug& TDebug::operator<< ( double  t)
inline

◆ operator<<() [13/23]

TDebug& TDebug::operator<< ( float  t)
inline

◆ operator<<() [14/23]

TDebug& TDebug::operator<< ( int  t)
inline

◆ operator<<() [15/23]

TDebug& TDebug::operator<< ( long  t)
inline

◆ operator<<() [16/23]

void void void void void void TDebug& TDebug::operator<< ( QChar  t)
inline

◆ operator<<() [17/23]

TDebug& TDebug::operator<< ( qint64  t)
inline

◆ operator<<() [18/23]

TDebug& TDebug::operator<< ( quint64  t)
inline

◆ operator<<() [19/23]

TDebug& TDebug::operator<< ( short  t)
inline

◆ operator<<() [20/23]

TDebug& TDebug::operator<< ( std::nullptr_t  )
inline

◆ operator<<() [21/23]

TDebug& TDebug::operator<< ( unsigned int  t)
inline

◆ operator<<() [22/23]

TDebug& TDebug::operator<< ( unsigned long  t)
inline

◆ operator<<() [23/23]

TDebug& TDebug::operator<< ( unsigned short  t)
inline

◆ operator=()

TDebug & TDebug::operator= ( const TDebug other)

◆ trace() [1/2]

TDebug TDebug::trace ( ) const
inline

◆ trace() [2/2]

void TDebug::trace ( const char *  fmt,
  ... 
) const

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

◆ warn() [1/2]

TDebug TDebug::warn ( ) const
inline

◆ warn() [2/2]

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: