32 #undef VERBOSE_PREAMBLE
33 #undef VERBOSE_POSTAMBLE
36 #undef LOGLEVEL_PREAMBLE
37 #undef LOGLEVEL_POSTAMBLE
42 #ifdef MYTH_IMPLEMENT_VERBOSE
45 #define VERBOSE_PREAMBLE
46 #define VERBOSE_POSTAMBLE
47 #define VERBOSE_MAP(name,mask,additive,help) \
48 verboseAdd(mask,QString(#name),additive,QString(help));
50 #define LOGLEVEL_PREAMBLE
51 #define LOGLEVEL_POSTAMBLE
52 #define LOGLEVEL_MAP(name,value,shortname) \
53 loglevelAdd(value,QString(#name),shortname);
55 #else // !defined(MYTH_IMPLEMENT_VERBOSE)
60 #define VERBOSE_PREAMBLE \
62 #define VERBOSE_POSTAMBLE \
65 #define VERBOSE_MAP(name,mask,additive,help) \
69 #define VERBOSE_PREAMBLE
70 #define VERBOSE_POSTAMBLE
71 #define VERBOSE_MAP(name,mask,additive,help) \
72 const uint64_t name = mask;
75 #define LOGLEVEL_PREAMBLE \
76 enum LogLevel_t : std::int8_t {
77 #define LOGLEVEL_POSTAMBLE \
79 #define LOGLEVEL_MAP(name,value,shortname) \
88 "ALL available debug output")
90 "Most
debug (nodatabase,notimestamp,noextra)")
93 "Errors or other very important messages")
100 "Playback related messages")
104 "On-Screen Display related messages")
108 "Scheduling related messages")
110 "Network protocol related messages")
112 "Commercial detection related messages")
114 "Audio related messages")
116 "Enables libav debugging")
120 "Siparser related messages")
122 "EIT related messages")
124 "VBI related messages")
126 "Display all SQL commands executed")
128 "DSMCC carousel related messages")
130 "
MHEG debugging messages")
132 "UPnP debugging messages")
134 "socket debugging messages")
136 "xmltv
output and related messages")
138 "DVB CAM debugging messages")
140 "Media Manager debugging messages")
142 "System idle messages")
146 "GUI related messages")
148 "External executable related messages")
151 "More detailed messages in selected levels")
154 "Conditional data driven messages")
156 "MPEG2Fix processing messages")
158 "MPEG2Fix frame messages")
160 "MPEG2Fix Replex Queue messages")
162 "MPEG2Fix Decode messages")
178 "GPU OpenGL driver messages")
180 "GPU Audio Processing messages")
182 "GPU video rendering messages")
184 "Reference Count messages")
186 "HTTP Server messages")
205 #ifndef MYTH_IMPLEMENT_VERBOSE
210 bool additive {
false};