mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-12 15:25:34 +08:00
[AFV] Verbose logging only for dev.builds
This commit is contained in:
committed by
Mat Sutcliffe
parent
0e4938ebc5
commit
b63e127b13
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user