10#if defined(QT_USE_APPLE_UNIFIED_LOGGING)
22bool QAppleTestLogger::debugLoggingEnabled()
27 return os_log_type_enabled(OS_LOG_DEFAULT, OS_LOG_TYPE_DEBUG);
30QAppleTestLogger::QAppleTestLogger()
37void QAppleTestLogger::enterTestFunction(
const char *function)
53void QAppleTestLogger::leaveTestFunction()
55 testFunctionActivity.
leave();
61 const char *categorySuffix =
nullptr;
73void QAppleTestLogger::addIncident(IncidentTypes
type,
const char *description,
76 MessageData messageData = [=]() {
101 messageData.generateCategory(&
category);
119 MessageData messageData = [=]() {
138 messageData.generateCategory(&
category);
145QString QAppleTestLogger::subsystem()
const
156QString QAppleTestLogger::testIdentifier()
const
static bool messageHandler(QtMsgType msgType, const QMessageLogContext &context, const QString &message, const QString &subsystem=QString())
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...
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