![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qlogging_p.h>
Public Types | |
| using | BacktraceStorage = bool |
Public Member Functions | |
| Q_ALWAYS_INLINE | QInternalMessageLogContext (const QMessageLogContext &logContext) |
| QInternalMessageLogContext (const QMessageLogContext &logContext, const QLoggingCategory &categoryOverride) | |
| int | initFrom (const QMessageLogContext &logContext) |
| void | populateBacktrace (int frameCount) |
| Public Member Functions inherited from QMessageLogContext | |
| constexpr | QMessageLogContext () noexcept=default |
| constexpr | QMessageLogContext (const char *fileName, int lineNumber, const char *functionName, const char *categoryName) noexcept |
Public Attributes | |
| std::optional< BacktraceStorage > | backtrace |
| Public Attributes inherited from QMessageLogContext | |
| int | version = CurrentVersion |
| int | line = 0 |
| const char * | file = nullptr |
| const char * | function = nullptr |
| const char * | category = nullptr |
Static Public Attributes | |
| static constexpr int | DefaultBacktraceDepth = 32 |
| Static Public Attributes inherited from QMessageLogContext | |
| static constexpr int | CurrentVersion = 2 |
Definition at line 44 of file qlogging_p.h.
| using QInternalMessageLogContext::BacktraceStorage = bool |
Definition at line 54 of file qlogging_p.h.
|
inline |
Definition at line 59 of file qlogging_p.h.
|
inline |
Definition at line 65 of file qlogging_p.h.
References QMessageLogContext::category.
| int QInternalMessageLogContext::initFrom | ( | const QMessageLogContext & | logContext | ) |
Copies context information from logContext into this QMessageLogContext. Returns the number of backtrace frames that are desired.
Definition at line 2408 of file qlogging.cpp.
| void QInternalMessageLogContext::populateBacktrace | ( | int | frameCount | ) |
Definition at line 1609 of file qlogging.cpp.
| std::optional<BacktraceStorage> QInternalMessageLogContext::backtrace |
Definition at line 57 of file qlogging_p.h.
|
staticconstexpr |
Definition at line 47 of file qlogging_p.h.