diff options
author | Aaron Seigo <aseigo@kde.org> | 2015-12-23 17:02:56 +0100 |
---|---|---|
committer | Aaron Seigo <aseigo@kde.org> | 2015-12-23 17:02:56 +0100 |
commit | 72f52fb148380feb018faa9a94a8ad54bb93635f (patch) | |
tree | f599f6a11497107cc25e74b3029739419575b983 /akonadi2_cli/state.h | |
parent | df040bb75653245960cfbab3c1a28baee53fd3c4 (diff) | |
download | sink-72f52fb148380feb018faa9a94a8ad54bb93635f.tar.gz sink-72f52fb148380feb018faa9a94a8ad54bb93635f.zip |
debug level
Diffstat (limited to 'akonadi2_cli/state.h')
-rw-r--r-- | akonadi2_cli/state.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/akonadi2_cli/state.h b/akonadi2_cli/state.h index a343e51..2f13166 100644 --- a/akonadi2_cli/state.h +++ b/akonadi2_cli/state.h | |||
@@ -30,7 +30,11 @@ public: | |||
30 | void printLine(const QString &message = QString(), unsigned int indentationLevel = 0); | 30 | void printLine(const QString &message = QString(), unsigned int indentationLevel = 0); |
31 | void printError(const QString &errorMessage, const QString &errorCode = QString()); | 31 | void printError(const QString &errorMessage, const QString &errorCode = QString()); |
32 | 32 | ||
33 | void setDebugLevel(unsigned int level); | ||
34 | unsigned int debugLevel() const; | ||
35 | |||
33 | private: | 36 | private: |
37 | int m_debugLevel = 0; | ||
34 | QTextStream m_outStream; | 38 | QTextStream m_outStream; |
35 | }; | 39 | }; |
36 | 40 | ||