22 msgPriority(priority) {}
48 ts << (t ?
"true" :
"false");
130 ts <<
"[" << str <<
"]";
147 ts <<
'[' << str <<
']';
The TDebug class provides a file output stream for debugging information.
Definition tdebug.h:19
TDebug & operator<<(bool t)
Definition tdebug.h:46
TDebug & operator<<(double t)
Definition tdebug.h:101
TDebug & operator<<(quint64 t)
Definition tdebug.h:91
TDebug & operator<<(char t)
Definition tdebug.h:51
TDebug & operator<<(unsigned int t)
Definition tdebug.h:71
TDebug fatal() const
Definition tdebug.h:27
TDebug & operator<<(int t)
Definition tdebug.h:66
TDebug & operator<<(const QVariant &t)
Definition tdebug.h:150
TDebug error() const
Definition tdebug.h:28
TDebug & operator<<(short t)
Definition tdebug.h:56
TDebug trace() const
Definition tdebug.h:32
TDebug & operator<<(const QByteArray &t)
Definition tdebug.h:133
TDebug & operator<<(const QString &t)
Definition tdebug.h:111
TDebug info() const
Definition tdebug.h:30
TDebug & operator<<(unsigned long t)
Definition tdebug.h:81
TDebug & operator<<(const char *t)
Definition tdebug.h:106
TDebug & operator<<(qint64 t)
Definition tdebug.h:86
TDebug & operator<<(std::nullptr_t)
Definition tdebug.h:160
TDebug & operator<<(unsigned short t)
Definition tdebug.h:61
TDebug & operator<<(float t)
Definition tdebug.h:96
TDebug & operator<<(const QLatin1String &t)
Definition tdebug.h:116
TDebug warn() const
Definition tdebug.h:29
TDebug(int priority)
Definition tdebug.h:21
TDebug & operator<<(const void *t)
Definition tdebug.h:155
TDebug debug() const
Definition tdebug.h:31
TDebug & operator<<(const QByteArrayList &t)
Definition tdebug.h:138
TDebug & operator<<(long t)
Definition tdebug.h:76
TDebug & operator<<(const QStringList &t)
Definition tdebug.h:121
The TLogger class provides an abstract base of logging functionality.
Definition tlogger.h:19
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 tfnamespace.h:258
@ 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
T_CORE_EXPORT void logging(int priority, const QByteArray &msg)
Definition tdebug.cpp:99
#define T_CORE_EXPORT
Definition tdeclexport.h:28
#define T_ATTRIBUTE_FORMAT(A, B)
Definition tglobal.h:43