Sonde v1.1.0
Embeddable Model Context Protocol server for Qt applications
Loading...
Searching...
No Matches
Sonde::anonymous_namespace{logeventsource.cpp}::CaptureState Struct Reference

Process-wide state of LogEventSource::captureCategory(). More...

Public Attributes

QMutex mutex
 Guards everything but the atomics.
QHash< QByteArray, QtMsgType > captured
 The captured categories, with the lowest level turned on for each.
QHash< QByteArray, std::array< bool, 4 > > applicationEnabled
 For each captured category: whether the application's rules enable debug, info, warning and critical (by rank()).
std::atomic< QLoggingCategory::CategoryFilter > previous { nullptr }
 The filter that was installed before ours; asked first.
bool filterInstalled = false
 Whether categoryFilter() is part of Qt's filter chain.
std::atomic< bool > any { false }
 Whether anything is captured (the handler's fast path).

Detailed Description

Process-wide state of LogEventSource::captureCategory().


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