LoggerWarningId Class

class QQmlSA ::LoggerWarningId

A wrapper around a string literal to uniquely identify warning categories in the QQmlSA 框架。 更多...

头: #include <LoggerWarningId>
CMake: find_package(Qt6 REQUIRED COMPONENTS QmlCompiler)
target_link_libraries(mytarget PRIVATE Qt6::QmlCompiler)
状态: 技术预览

公共函数

LoggerWarningId (QAnyStringView name )
QAnyStringView name () const

详细描述

成员函数文档编制

[constexpr] LoggerWarningId:: LoggerWarningId ( QAnyStringView name )

Constructs a LoggerWarningId object with logging catergory name name .

QAnyStringView LoggerWarningId:: name () const

Returns the name of the wrapped warning category.