[AFV] Verbose logging only for dev.builds

This commit is contained in:
Klaus Basan
2020-04-09 23:22:53 +02:00
committed by Mat Sutcliffe
parent 0e4938ebc5
commit b63e127b13
3 changed files with 12 additions and 10 deletions

View File

@@ -11,6 +11,7 @@
#ifndef BLACKSOUND_SAMPLEPROVIDER_H
#define BLACKSOUND_SAMPLEPROVIDER_H
#include "blackconfig/buildconfig.h"
#include "blacksound/blacksoundexport.h"
#include <QObject>
#include <QVector>
@@ -36,7 +37,12 @@ namespace BlackSound
//! Finished?
virtual bool isFinished() const { return false; }
protected:
//! Verbose logs?
bool static verbose() { return BlackConfig::CBuildConfig::isLocalDeveloperDebugBuild(); }
};
} // ns
} // ns