8#if defined(QT_USE_APPLE_UNIFIED_LOGGING)
20bool QAppleTestLogger::debugLoggingEnabled()
25 return os_log_type_enabled(OS_LOG_DEFAULT, OS_LOG_TYPE_DEBUG);
28QAppleTestLogger::QAppleTestLogger()
35void QAppleTestLogger::enterTestFunction(
const char *function)
51void QAppleTestLogger::leaveTestFunction()
53 testFunctionActivity.leave();
59 const char *categorySuffix =
nullptr;
71void QAppleTestLogger::addIncident(IncidentTypes
type,
const char *description,
74 MessageData messageData = [=]() {
99 messageData.generateCategory(&
category);
125 MessageData messageData = [=]() {
144 messageData.generateCategory(&
category);
151QString QAppleTestLogger::subsystem()
const
162QString QAppleTestLogger::testIdentifier()
const
static bool messageHandler(QtMsgType msgType, const QMessageLogContext &context, const QString &message)
Base class for test loggers.
\macro QT_RESTRICTED_CAST_FROM_ASCII
static QString fromLatin1(QByteArrayView ba)
This is an overloaded member function, provided for convenience. It differs from the above function o...
QChar * data()
Returns a pointer to the data stored in the QString.
const QLoggingCategory & category()
[1]
Combined button and popup list for selecting options.
void generateTestIdentifier(QTestCharBuffer *identifier, int parts)
int qt_asprintf(QTestCharBuffer *str, const char *format,...)
size_t qstrlen(const char *str)
#define QT_APPLE_LOG_ACTIVITY(...)
GLuint GLsizei const GLchar * message
QLatin1StringView QLatin1String