(dc8a6de42c8adb89275628f0adb067e9664a795d)
#include <QtCore/qdebug.h>
#include <QtCore/qloggingcategory.h>
#include <QtCore/qthread.h>
#include <cstdarg>
#include <hilog/log.h>
Go to the source code of this file.
|
| QT_BEGIN_NAMESPACE Q_CORE_EXPORT const QLoggingCategory & | QtForOhos () |
| Q_CORE_EXPORT void | qOhosLogMessage (LogLevel logLevel, const char *tag, const char *message) |
| Q_CORE_EXPORT | Q_ATTRIBUTE_FORMAT_PRINTF (2, 0) void qOhosVPrintf(LogLevel logLevel |
| | Q_ATTRIBUTE_FORMAT_PRINTF (1, 2) inline void qOhosPrintfDebug(const char *format |
| | va_start (ap, format) |
| | qOhosVPrintf (LOG_DEBUG, format, ap) |
| | va_end (ap) |
| | qOhosVPrintf (LOG_INFO, format, ap) |
| | qOhosVPrintf (LOG_WARN, format, ap) |
| | qOhosVPrintf (LOG_ERROR, format, ap) |
| template<typename StringType> |
| auto | make_QCScopedDebug (StringType &&message) -> QCScopedDebug< typename std::decay< StringType >::type > |
| template<typename StringType> |
| auto | make_QCScopedDebugJS (StringType &&message) -> QCScopedDebugJS< typename std::decay< StringType >::type > |
|
| Q_CORE_EXPORT const char * | format |
| Q_CORE_EXPORT const char std::va_list | ap |
◆ DUMP
Value:
static Q_DECL_PURE_FUNCTION Qt::HANDLE currentThreadId() noexcept
QT_BEGIN_NAMESPACE const QLoggingCategory & QtForOhos()
#define qOhosDebug(category)
GLint GLint GLint GLint GLint x
Definition at line 121 of file qohoslogger_p.h.
◆ qOhosCritical
Value:_Pragma("GCC diagnostic push") \
_Pragma("GCC diagnostic ignored \"-Wgnu-zero-variadic-macro-arguments\"") \
_Pragma("GCC diagnostic pop")
const QLoggingCategory & category()
[1]
Definition at line 40 of file qohoslogger_p.h.
◆ qOhosDebug
Value:_Pragma("GCC diagnostic push") \
_Pragma("GCC diagnostic ignored \"-Wgnu-zero-variadic-macro-arguments\"") \
_Pragma("GCC diagnostic pop")
Definition at line 28 of file qohoslogger_p.h.
◆ qOhosFatal
Value:_Pragma("GCC diagnostic push") \
_Pragma("GCC diagnostic ignored \"-Wgnu-zero-variadic-macro-arguments\"") \
_Pragma("GCC diagnostic pop")
Definition at line 46 of file qohoslogger_p.h.
◆ qOhosWarning
Value:_Pragma("GCC diagnostic push") \
_Pragma("GCC diagnostic ignored \"-Wgnu-zero-variadic-macro-arguments\"") \
_Pragma("GCC diagnostic pop")
Definition at line 34 of file qohoslogger_p.h.
◆ make_QCScopedDebug()
template<typename StringType>
| auto make_QCScopedDebug |
( |
StringType && | message | ) |
-> QCScopedDebug< typename std::decay< StringType >::type > |
◆ make_QCScopedDebugJS()
template<typename StringType>
| auto make_QCScopedDebugJS |
( |
StringType && | message | ) |
-> QCScopedDebugJS< typename std::decay< StringType >::type > |
◆ Q_ATTRIBUTE_FORMAT_PRINTF() [1/2]
| Q_ATTRIBUTE_FORMAT_PRINTF |
( |
1 | , |
|
|
2 | ) const |
◆ Q_ATTRIBUTE_FORMAT_PRINTF() [2/2]
| Q_CORE_EXPORT Q_ATTRIBUTE_FORMAT_PRINTF |
( |
2 | , |
|
|
0 | ) |
◆ qOhosLogMessage()
| Q_CORE_EXPORT void qOhosLogMessage |
( |
LogLevel | logLevel, |
|
|
const char * | tag, |
|
|
const char * | message ) |
◆ qOhosVPrintf() [1/4]
| qOhosVPrintf |
( |
LOG_DEBUG | , |
|
|
format | , |
|
|
ap | ) |
◆ qOhosVPrintf() [2/4]
| qOhosVPrintf |
( |
LOG_ERROR | , |
|
|
format | , |
|
|
ap | ) |
◆ qOhosVPrintf() [3/4]
◆ qOhosVPrintf() [4/4]
◆ QtForOhos()
◆ va_end()
◆ va_start()
Initial value:{
Q_CORE_EXPORT const char std::va_list ap
◆ ap
| Q_CORE_EXPORT const char std::va_list ap |
◆ format
| Q_CORE_EXPORT const char* format |