the whole log setting in one 32 bit word: a dx::log::level per dx::log::scope per dx::log::module, four bits each. The word is what a driver, a kernel and a host exchange and compare; the named members are the same bits, and to/from name them for a preference, a command line or a property. The serialization macros hand the member list to the tree and CF sinks of dx_serialize.h, so the store holds the log resolved rather than the word.
More...
#include <dx_log.h>
|
| struct | from |
| struct | module |
| | the parts of a driver a message is attributed to, each with its own dx::log::scope More...
|
| struct | scope |
| | the phases a module is logged apart in - a device's setup may be traced while its operation stays quiet More...
|
| struct | to |
|
| static auto constexpr | id = "dx:log" |
| static constexpr const char * | name [] {"none", "error", "warning", "info", "debug"} |
| static auto constexpr | path = "dx:log:path" |
the whole log setting in one 32 bit word: a dx::log::level per dx::log::scope per dx::log::module, four bits each. The word is what a driver, a kernel and a host exchange and compare; the named members are the same bits, and to/from name them for a preference, a command line or a property. The serialization macros hand the member list to the tree and CF sinks of dx_serialize.h, so the store holds the log resolved rather than the word.
◆ level
rising verbosity: a message is logged where its level is at most the scope's
| Enumerator |
|---|
| none | |
| error | |
| warning | |
| info | |
| debug | |
| levels | |
| last | |
| invalid | |
| dflt | |
◆ operator uint32_t()
◆ operator==()
| bool dx::log::operator== |
( |
const log & | log | ) |
const |
|
inline |
◆ operator[]() [1/2]
| scope & dx::log::operator[] |
( |
const char * | name | ) |
|
|
inline |
◆ operator[]() [2/2]
the module's scopes; an unknown module answers with a shared invalid scope, which logs nothing and takes no setting
◆ [struct]
◆ bus
monitor bus actions (low level PCI, USB, etc.)
◆ id
| auto constexpr dx::log::id = "dx:log" |
|
staticconstexpr |
◆ interface
monitor API bureaucracy (CoreAudio/ CoreMIDI, PortClass, ASIO, etc.)
◆ name
| const char* dx::log::name[] {"none", "error", "warning", "info", "debug"} |
|
staticconstexpr |
◆ path
| auto constexpr dx::log::path = "dx:log:path" |
|
staticconstexpr |
◆ raw
union already default initialized; remove initializer once even bill understands that and the standard.
◆ streaming
monitor low level streaming
◆ vendor
The documentation for this union was generated from the following file: