21 msgPriority(priority) {}
47 ts << (t ?
"true" :
"false");
115 #if QT_VERSION < 0x060000
136 ts <<
"[" << str <<
"]";
153 ts <<
'[' << str <<
']';
The TDebug class provides a file output stream for debugging information.
Definition: tdebug.h:18
TDebug & operator<<(unsigned long t)
Definition: tdebug.h:80
TDebug & operator<<(float t)
Definition: tdebug.h:95
TDebug & operator<<(quint64 t)
Definition: tdebug.h:90
TDebug & operator<<(unsigned short t)
Definition: tdebug.h:60
TDebug & operator<<(const QStringList &t)
Definition: tdebug.h:127
TDebug fatal() const
Definition: tdebug.h:26
TDebug & operator<<(const QVariant &t)
Definition: tdebug.h:156
TDebug & operator<<(long t)
Definition: tdebug.h:75
TDebug & operator<<(double t)
Definition: tdebug.h:100
TDebug error() const
Definition: tdebug.h:27
TDebug & operator<<(char t)
Definition: tdebug.h:50
TDebug & operator<<(const QString &t)
Definition: tdebug.h:110
TDebug trace() const
Definition: tdebug.h:31
TDebug & operator<<(const void *t)
Definition: tdebug.h:161
TDebug & operator<<(const QByteArray &t)
Definition: tdebug.h:139
TDebug & operator<<(const QByteArrayList &t)
Definition: tdebug.h:144
TDebug info() const
Definition: tdebug.h:29
TDebug & operator<<(short t)
Definition: tdebug.h:55
TDebug & operator<<(qint64 t)
Definition: tdebug.h:85
TDebug & operator<<(unsigned int t)
Definition: tdebug.h:70
TDebug & operator<<(bool t)
Definition: tdebug.h:45
TDebug warn() const
Definition: tdebug.h:28
TDebug(int priority)
Definition: tdebug.h:20
TDebug debug() const
Definition: tdebug.h:30
TDebug & operator<<(const QLatin1String &t)
Definition: tdebug.h:122
TDebug & operator<<(const char *t)
Definition: tdebug.h:105
TDebug & operator<<(int t)
Definition: tdebug.h:65
TDebug & operator<<(std::nullptr_t)
Definition: tdebug.h:166
The TLogger class provides an abstract base of logging functionality.
Definition: tlogger.h:21
The Tf namespace contains miscellaneous identifiers used throughout the library of TreeFrog Framework...
Definition: tdebug.h:10
T_CORE_EXPORT void releaseAppLoggers()
Releases all the loggers.
Definition: tdebug.cpp:87
T_CORE_EXPORT void setupAppLoggers(TLogger *logger=nullptr)
Sets up all the loggers set in the logger.ini.
Definition: tdebug.cpp:51
constexpr auto WriteOnly
Definition: tglobal.h:246
@ TraceLevel
Finer-grained informational events than the DEBUG.
Definition: tfnamespace.h:236
@ WarnLevel
Potentially harmful situations.
Definition: tfnamespace.h:233
@ DebugLevel
Informational events that are most useful to debug the app.
Definition: tfnamespace.h:235
@ InfoLevel
Informational messages that highlight the progress of the app.
Definition: tfnamespace.h:234
@ FatalLevel
Severe error events that will presumably lead the app to abort.
Definition: tfnamespace.h:231
@ ErrorLevel
Error events that might still allow the app to continue running.
Definition: tfnamespace.h:232
#define T_CORE_EXPORT
Definition: tdeclexport.h:28
#define T_ATTRIBUTE_FORMAT(A, B)
Definition: tglobal.h:50
QDataStream & operator<<(QDataStream &out, const TLog &log)
Definition: tlog.cpp:40