10#include <QLoggingCategory>
12#include "kritaglobal_export.h"
21extern const KRITAGLOBAL_EXPORT QLoggingCategory &
_30009();
22extern const KRITAGLOBAL_EXPORT QLoggingCategory &
_30010();
23extern const KRITAGLOBAL_EXPORT QLoggingCategory &
_41000();
24extern const KRITAGLOBAL_EXPORT QLoggingCategory &
_41001();
25extern const KRITAGLOBAL_EXPORT QLoggingCategory &
_41002();
26extern const KRITAGLOBAL_EXPORT QLoggingCategory &
_41003();
27extern const KRITAGLOBAL_EXPORT QLoggingCategory &
_41004();
28extern const KRITAGLOBAL_EXPORT QLoggingCategory &
_41005();
29extern const KRITAGLOBAL_EXPORT QLoggingCategory &
_41006();
30extern const KRITAGLOBAL_EXPORT QLoggingCategory &
_41007();
31extern const KRITAGLOBAL_EXPORT QLoggingCategory &
_41008();
32extern const KRITAGLOBAL_EXPORT QLoggingCategory &
_41009();
33extern const KRITAGLOBAL_EXPORT QLoggingCategory &
_41010();
34extern const KRITAGLOBAL_EXPORT QLoggingCategory &
_41011();
35extern const KRITAGLOBAL_EXPORT QLoggingCategory &
_41013();
36extern const KRITAGLOBAL_EXPORT QLoggingCategory &
_41014();
37extern const KRITAGLOBAL_EXPORT QLoggingCategory &
_41015();
38extern const KRITAGLOBAL_EXPORT QLoggingCategory &
_41016();
39extern const KRITAGLOBAL_EXPORT QLoggingCategory &
_41017();
40extern const KRITAGLOBAL_EXPORT QLoggingCategory &
_41018();
41extern const KRITAGLOBAL_EXPORT QLoggingCategory &
_41019();
42extern const KRITAGLOBAL_EXPORT QLoggingCategory &
_41020();
43extern const KRITAGLOBAL_EXPORT QLoggingCategory &
_41021();
45#define dbgPerformanceIsEnabled() (_41021().isDebugEnabled())
47#define dbgResources qCDebug(_30009)
48#define dbgDbMigration qCDebug(_30010)
49#define dbgKrita qCDebug(_41000)
50#define dbgImage qCDebug(_41001)
51#define dbgRegistry qCDebug(_41002)
52#define dbgTools qCDebug(_41003)
53#define dbgTiles qCDebug(_41004)
54#define dbgFilters qCDebug(_41005)
55#define dbgPlugins qCDebug(_41006)
56#define dbgUI qCDebug(_41007)
57#define dbgFile qCDebug(_41008)
58#define dbgMath qCDebug(_41009)
59#define dbgRender qCDebug(_41010)
60#define dbgScript qCDebug(_41011)
61#define dbgAction qCDebug(_41013)
62#define dbgTablet qCDebug(_41014)
63#define dbgOpenGL qCDebug(_41015)
64#define dbgMetaData qCDebug(_41016)
65#define dbgAndroid qCDebug(_41017)
66#define dbgLocale qCDebug(_41018)
67#define dbgInputEater qCDebug(_41019)
68#define dbgInputMatcher qCDebug(_41020)
69#define dbgPerformance qCDebug(_41021)
71#define infoResources qCInfo(_30009)
72#define infoDbMigration qCInfo(_30010)
73#define infoKrita qCInfo(_41000)
74#define infoImage qCInfo(_41001)
75#define infoRegistry qCInfo(_41002)
76#define infoTools qCInfo(_41003)
77#define infoTiles qCInfo(_41004)
78#define infoFilters qCInfo(_41005)
79#define infoPlugins qCInfo(_41006)
80#define infoUI qCInfo(_41007)
81#define infoFile qCInfo(_41008)
82#define infoMath qCInfo(_41009)
83#define infoRender qCInfo(_41010)
84#define infoScript qCInfo(_41011)
85#define infoAction qCInfo(_41013)
86#define infoTablet qCInfo(_41014)
87#define infoOpenGL qCInfo(_41015)
88#define infoMetaData qCInfo(_41016)
89#define infoInputEater qCInfo(_41019)
90#define infoInputMatcher qCInfo(_41020)
92#define warnResources qCWarning(_30009)
93#define warnDbMigration qCWarning(_30010)
94#define warnKrita qCWarning(_41000)
95#define warnImage qCWarning(_41001)
96#define warnRegistry qCWarning(_41002)
97#define warnTools qCWarning(_41003)
98#define warnTiles qCWarning(_41004)
99#define warnFilters qCWarning(_41005)
100#define warnPlugins qCWarning(_41006)
101#define warnUI qCWarning(_41007)
102#define warnFile qCWarning(_41008)
103#define warnMath qCWarning(_41009)
104#define warnRender qCWarning(_41010)
105#define warnScript qCWarning(_41011)
106#define warnAction qCWarning(_41013)
107#define warnTablet qCWarning(_41014)
108#define warnOpenGL qCWarning(_41015)
109#define warnMetaData qCWarning(_41016)
110#define warnInputEater qCWarning(_41019)
111#define warnInputMatcher qCWarning(_41020)
113#define errResources qCCritical(_30009)
114#define errDbMigration qCCritical(_30010)
115#define errKrita qCCritical(_41000)
116#define errImage qCCritical(_41001)
117#define errRegistry qCCritical(_41002)
118#define errTools qCCritical(_41003)
119#define errTiles qCCritical(_41004)
120#define errFilters qCCritical(_41005)
121#define errPlugins qCCritical(_41006)
122#define errUI qCCritical(_41007)
123#define errFile qCCritical(_41008)
124#define errMath qCCritical(_41009)
125#define errRender qCCritical(_41010)
126#define errScript qCCritical(_41011)
127#define errAction qCCritical(_41013)
128#define errTablet qCCritical(_41014)
129#define errOpenGL qCCritical(_41015)
130#define errMetaData qCCritical(_41016)
131#define errInputEater qCCritical(_41019)
132#define errInputMatcher qCCritical(_41020)
163#define ppVar( var ) #var << "=" << (var)
166#if (QT_VERSION < QT_VERSION_CHECK(6, 0, 0))
169# define Q_ASSERT(cond) if(!(cond)) { errKrita.noquote() << kisBacktrace(); qt_assert(#cond,__FILE__,__LINE__); } qt_noop()
174KRITAGLOBAL_EXPORT QString
__methodName(
const char *prettyFunction);
175#define __METHOD_NAME__ __methodName(__PRETTY_FUNCTION__)
177#define __METHOD_NAME__ "<unknown>:<unknown>"
180#define PREPEND_METHOD(msg) QString("%1: %2").arg(__METHOD_NAME__).arg(msg)
183#define ENTER_FUNCTION() qDebug() << "Entering" << __METHOD_NAME__
184#define LEAVE_FUNCTION() qDebug() << "Leaving " << __METHOD_NAME__
186#define ENTER_FUNCTION() qDebug() << "Entering" << "<unknown>"
187#define LEAVE_FUNCTION() qDebug() << "Leaving " << "<unknown>"
QString __methodName(const char *_prettyFunction)
const KRITAGLOBAL_EXPORT QLoggingCategory & _41003()
const KRITAGLOBAL_EXPORT QLoggingCategory & _41006()
const KRITAGLOBAL_EXPORT QLoggingCategory & _41011()
const KRITAGLOBAL_EXPORT QLoggingCategory & _41017()
const KRITAGLOBAL_EXPORT QLoggingCategory & _41009()
const KRITAGLOBAL_EXPORT QLoggingCategory & _41019()
const KRITAGLOBAL_EXPORT QLoggingCategory & _41005()
const KRITAGLOBAL_EXPORT QLoggingCategory & _41021()
const KRITAGLOBAL_EXPORT QLoggingCategory & _41015()
const KRITAGLOBAL_EXPORT QLoggingCategory & _41020()
const KRITAGLOBAL_EXPORT QLoggingCategory & _30010()
const KRITAGLOBAL_EXPORT QLoggingCategory & _30009()
const KRITAGLOBAL_EXPORT QLoggingCategory & _41004()
const KRITAGLOBAL_EXPORT QLoggingCategory & _41007()
const KRITAGLOBAL_EXPORT QLoggingCategory & _41001()
const KRITAGLOBAL_EXPORT QLoggingCategory & _41016()
const KRITAGLOBAL_EXPORT QLoggingCategory & _41000()
const KRITAGLOBAL_EXPORT QLoggingCategory & _41014()
const KRITAGLOBAL_EXPORT QLoggingCategory & _41002()
const KRITAGLOBAL_EXPORT QLoggingCategory & _41008()
KRITAGLOBAL_EXPORT QString kisBacktrace()
const KRITAGLOBAL_EXPORT QLoggingCategory & _41018()
const KRITAGLOBAL_EXPORT QLoggingCategory & _41013()
const KRITAGLOBAL_EXPORT QLoggingCategory & _41010()