Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QMessagePattern Struct Reference
+ Collaboration diagram for QMessagePattern:

Classes

struct  BacktraceParams
 

Public Member Functions

 QMessagePattern ()
 
 ~QMessagePattern ()
 
void setPattern (const QString &pattern)
 
void setDefaultPattern ()
 
 QMessagePattern ()
 
 ~QMessagePattern ()
 
void setPattern (const QString &pattern)
 
void setDefaultPattern ()
 

Public Attributes

std::unique_ptr< std::unique_ptr< const char[]>[]> literals
 
std::unique_ptr< const char *[]> tokens
 
QList< QStringtimeArgs
 
std::chrono::steady_clock::time_point appStartTime = std::chrono::steady_clock::now()
 
bool fromEnvironment
 

Static Public Attributes

static QBasicMutex mutex
 

Detailed Description

Definition at line 1074 of file qlogging.cpp.

Constructor & Destructor Documentation

◆ QMessagePattern() [1/2]

QMessagePattern::QMessagePattern ( )

Definition at line 1138 of file qlogging.cpp.

References fromEnvironment, setDefaultPattern(), and setPattern().

+ Here is the call graph for this function:

◆ ~QMessagePattern() [1/2]

QMessagePattern::~QMessagePattern ( )
default

◆ QMessagePattern() [2/2]

QMessagePattern::QMessagePattern ( )

◆ ~QMessagePattern() [2/2]

QMessagePattern::~QMessagePattern ( )

Member Function Documentation

◆ setDefaultPattern() [1/2]

void QMessagePattern::setDefaultPattern ( )
inline

Definition at line 1080 of file qlogging.cpp.

References categoryTokenC, endifTokenC, ifCategoryTokenC, and messageTokenC.

Referenced by QMessagePattern().

+ Here is the caller graph for this function:

◆ setDefaultPattern() [2/2]

void QMessagePattern::setDefaultPattern ( )
inline

Definition at line 1080 of file qlogging.cpp.

◆ setPattern() [1/2]

void QMessagePattern::setPattern ( const QString & pattern)

Definition at line 1152 of file qlogging.cpp.

References QMessageLogContext::QMessageLogContext(), appnameTokenC, backtraceTokenC, categoryTokenC, endifTokenC, fileTokenC, functionTokenC, lineTokenC, messageTokenC, pidTokenC, qthreadptrTokenC, threadidTokenC, timeTokenC, and typeTokenC.

Referenced by QMessagePattern().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setPattern() [2/2]

void QMessagePattern::setPattern ( const QString & pattern)

Member Data Documentation

◆ appStartTime

std::chrono::steady_clock::time_point QMessagePattern::appStartTime = std::chrono::steady_clock::now()

Definition at line 1108 of file qlogging.cpp.

◆ fromEnvironment

bool QMessagePattern::fromEnvironment

Definition at line 1119 of file qlogging.cpp.

Referenced by QMessagePattern().

◆ literals

std::unique_ptr< std::unique_ptr< const char[]>[]> QMessagePattern::literals

Definition at line 1105 of file qlogging.cpp.

◆ mutex

Q_CONSTINIT QBasicMutex QMessagePattern::mutex
static

Definition at line 1120 of file qlogging.cpp.

◆ timeArgs

QList< QString > QMessagePattern::timeArgs

Definition at line 1107 of file qlogging.cpp.

◆ tokens

std::unique_ptr< const char *[]> QMessagePattern::tokens

Definition at line 1106 of file qlogging.cpp.


The documentation for this struct was generated from the following file: