java.lang.Object
io.qt.QtObject
io.qt.core.QLoggingCategory
- All Implemented Interfaces:
QtObjectInterface
Represents a category, or 'area' in the logging infrastructure
Java wrapper for Qt class QLoggingCategory
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
Java wrapper for Qt callableQLoggingCategory::CategoryFilter
-
Constructor Summary
ConstructorDescriptionQLoggingCategory
(String category) Overloaded constructor forQLoggingCategory(java.lang.String, QtMsgType)
withseverityLevel = QtMsgType.QtDebugMsg
.QLoggingCategory
(String category, QtMsgType severityLevel) -
Method Summary
Modifier and TypeMethodDescriptionfinal String
static QLoggingCategory
Take control of how logging categories are configuredfinal boolean
final boolean
final boolean
final boolean
final boolean
final void
setEnabled
(QtMsgType type, boolean enable) static void
setFilterRules
(String rules) Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QLoggingCategory
Overloaded constructor for
QLoggingCategory(java.lang.String, QtMsgType)
withseverityLevel = QtMsgType.QtDebugMsg
. -
QLoggingCategory
-
-
Method Details
-
categoryName
- Returns:
-
isCriticalEnabled
- Returns:
-
isDebugEnabled
- Returns:
-
isEnabled
- Parameters:
type
-- Returns:
-
isInfoEnabled
- Returns:
-
isWarningEnabled
- Returns:
-
setEnabled
- Parameters:
type
-enable
-
-
defaultCategory
- Returns:
-
installFilter
Take control of how logging categories are configured
See
QLoggingCategory::
installFilter(QLoggingCategory::CategoryFilter) - Parameters:
arg__1
-- Returns:
-
setFilterRules
- Parameters:
rules
-
-