Issue #77 getLogCategories returns a simple QStringList instead of our own class

This commit is contained in:
Mat Sutcliffe
2020-10-28 16:48:31 +00:00
parent 05d28017e7
commit 63e8de8f00
156 changed files with 862 additions and 833 deletions

View File

@@ -23,41 +23,41 @@ namespace BlackMisc
{
static const QHash<QString, CLogPattern> patterns
{
{ "uncategorized (swift)", exactMatch(CLogCategory::uncategorized()) },
{ "background task", exactMatch(CLogCategory::worker()) },
{ "cache", exactMatch(CLogCategory::cache()) },
{ "cmd.line handling", exactMatch(CLogCategory::cmdLine()) },
{ "data inconsistency", exactMatch(CLogCategory::dataInconsistency()) },
{ "DBus", exactMatch(CLogCategory::dbus()) },
{ "downloading data", exactMatch(CLogCategory::download()) },
{ "driver", exactMatch(CLogCategory::driver()) },
{ "flight plan", exactMatch(CLogCategory::flightPlan()) },
{ "FSD", exactMatch(CLogCategory::fsd()) },
{ "interpolator", exactMatch(CLogCategory::interpolator()) },
{ "JSON (conversion)", exactMatch(CLogCategory::json()) },
{ "model cache", exactMatch(CLogCategory::modelCache()) },
{ "model GUI", exactMatch(CLogCategory::modelGui()) },
{ "model loader", exactMatch(CLogCategory::modelLoader()) },
{ "model mapping", exactMatch(CLogCategory::mapping()) },
{ "model matching", exactMatch(CLogCategory::matching()) },
{ "model set cache", exactMatch(CLogCategory::modelSetCache()) },
{ "network (flight)", exactMatch(CLogCategory::network()) },
{ "plugin", exactMatch(CLogCategory::plugin()) },
{ "services", exactMatch(CLogCategory::services()) },
{ "settings", exactMatch(CLogCategory::settings()) },
{ "startup phase", exactMatch(CLogCategory::startup()) },
{ "swift context slots", exactMatch(CLogCategory::contextSlot()) },
{ "swift contexts", exactMatch(CLogCategory::context()) },
{ "swift core", exactMatch(CLogCategory::swiftCore()) },
{ "swift data tool", exactMatch(CLogCategory::swiftDataTool()) },
{ "swift DB webservice related", exactMatch(CLogCategory::swiftDbWebservice()) },
{ "swift GUI", exactMatch(CLogCategory::guiComponent()) },
{ "swift pilot client", exactMatch(CLogCategory::swiftPilotClient()) },
{ "validation", exactMatch(CLogCategory::validation()) },
{ "VATSIM specific", exactMatch(CLogCategory::vatsimSpecific()) },
{ "verification", exactMatch(CLogCategory::verification()) },
{ "webservice related", exactMatch(CLogCategory::webservice()) },
{ "wizard", exactMatch(CLogCategory::wizard()) },
{ "uncategorized (swift)", exactMatch(CLogCategories::uncategorized()) },
{ "background task", exactMatch(CLogCategories::worker()) },
{ "cache", exactMatch(CLogCategories::cache()) },
{ "cmd.line handling", exactMatch(CLogCategories::cmdLine()) },
{ "data inconsistency", exactMatch(CLogCategories::dataInconsistency()) },
{ "DBus", exactMatch(CLogCategories::dbus()) },
{ "downloading data", exactMatch(CLogCategories::download()) },
{ "driver", exactMatch(CLogCategories::driver()) },
{ "flight plan", exactMatch(CLogCategories::flightPlan()) },
{ "FSD", exactMatch(CLogCategories::fsd()) },
{ "interpolator", exactMatch(CLogCategories::interpolator()) },
{ "JSON (conversion)", exactMatch(CLogCategories::json()) },
{ "model cache", exactMatch(CLogCategories::modelCache()) },
{ "model GUI", exactMatch(CLogCategories::modelGui()) },
{ "model loader", exactMatch(CLogCategories::modelLoader()) },
{ "model mapping", exactMatch(CLogCategories::mapping()) },
{ "model matching", exactMatch(CLogCategories::matching()) },
{ "model set cache", exactMatch(CLogCategories::modelSetCache()) },
{ "network (flight)", exactMatch(CLogCategories::network()) },
{ "plugin", exactMatch(CLogCategories::plugin()) },
{ "services", exactMatch(CLogCategories::services()) },
{ "settings", exactMatch(CLogCategories::settings()) },
{ "startup phase", exactMatch(CLogCategories::startup()) },
{ "swift context slots", exactMatch(CLogCategories::contextSlot()) },
{ "swift contexts", exactMatch(CLogCategories::context()) },
{ "swift core", exactMatch(CLogCategories::swiftCore()) },
{ "swift data tool", exactMatch(CLogCategories::swiftDataTool()) },
{ "swift DB webservice related", exactMatch(CLogCategories::swiftDbWebservice()) },
{ "swift GUI", exactMatch(CLogCategories::guiComponent()) },
{ "swift pilot client", exactMatch(CLogCategories::swiftPilotClient()) },
{ "validation", exactMatch(CLogCategories::validation()) },
{ "VATSIM specific", exactMatch(CLogCategories::vatsimSpecific()) },
{ "verification", exactMatch(CLogCategories::verification()) },
{ "webservice related", exactMatch(CLogCategories::webservice()) },
{ "wizard", exactMatch(CLogCategories::wizard()) },
{ "Qt library", startsWith("qt.") },
{ "uncategorized (default)", exactMatch("default") },
{ "uncategorized (none)", empty() }