TreeFrogFramework 2.10
Loading...
Searching...
No Matches
Namespaces | Enumerations | Functions
tsystemglobal.h File Reference
#include <QMap>
#include <QSettings>
#include <QVariant>
#include <TGlobal>
Include dependency graph for tsystemglobal.h:

Go to the source code of this file.

Namespaces

namespace  Tf
 

Enumerations

enum  Tf::SystemOpCode {
  Tf::InvalidOpCode = 0x00 , Tf::WebSocketSendText = 0x01 , Tf::WebSocketSendBinary = 0x02 , Tf::WebSocketPublishText = 0x03 ,
  Tf::WebSocketPublishBinary = 0x04 , Tf::MaxOpCode = 0x04
}
 

Functions

T_CORE_EXPORT void Tf::setupSystemLogger (TSystemLogger *logger=nullptr)
 
T_CORE_EXPORT void Tf::releaseSystemLogger ()
 
T_CORE_EXPORT void Tf::tSystemMessage (int priority, const QByteArray &message)
 
T_CORE_EXPORT void Tf::setupAccessLogger ()
 
T_CORE_EXPORT void Tf::releaseAccessLogger ()
 
T_CORE_EXPORT bool Tf::isAccessLoggerAvailable ()
 
T_CORE_EXPORT void Tf::setupQueryLogger ()
 
T_CORE_EXPORT void Tf::releaseQueryLogger ()
 
T_CORE_EXPORT void Tf::writeAccessLog (const TAccessLog &log)
 
T_CORE_EXPORT void Tf::writeQueryLog (const QString &query, bool success, const QSqlError &error, int duration)
 
T_CORE_EXPORT void Tf::traceQuery (int duration, const QByteArray &msg)
 
template<typename... Args>
void Tf::traceQueryLog (int duration, const std::format_string< Args... > &fmt, Args &&... args)
 
T_CORE_EXPORT QMap< QString, QVariant > Tf::settingsToMap (QSettings &settings, const QString &env=QString())
 
template<typename... Args>
void tSystemError (const std::format_string< Args... > &fmt, Args &&... args)
 
template<typename... Args>
void tSystemWarn (const std::format_string< Args... > &fmt, Args &&... args)
 
template<typename... Args>
void tSystemInfo (const std::format_string< Args... > &fmt, Args &&... args)
 
template<typename... Args>
void tSystemDebug (const std::format_string< Args... > &fmt, Args &&... args)
 
template<typename... Args>
void tSystemTrace (const std::format_string< Args... > &fmt, Args &&... args)
 

Function Documentation

◆ tSystemDebug()

template<typename... Args>
void tSystemDebug ( const std::format_string< Args... > &  fmt,
Args &&...  args 
)

◆ tSystemError()

template<typename... Args>
void tSystemError ( const std::format_string< Args... > &  fmt,
Args &&...  args 
)

◆ tSystemInfo()

template<typename... Args>
void tSystemInfo ( const std::format_string< Args... > &  fmt,
Args &&...  args 
)

◆ tSystemTrace()

template<typename... Args>
void tSystemTrace ( const std::format_string< Args... > &  fmt,
Args &&...  args 
)

◆ tSystemWarn()

template<typename... Args>
void tSystemWarn ( const std::format_string< Args... > &  fmt,
Args &&...  args 
)